API Reference ex_esdb v#0.0.14-alpha
Modules
This module is used to manipulate bitwise flags.
This module is used to manipulate colors. It offers a set of functions that can be used to change the color of text in the terminal, using ANSI escape codes. It covers all color combinations and effects supported by ANSI.
ExESDB is a wrapper around the khepri library. Its intention is to provide an interface to khepri, with a focus on event sourcing.
Aggregates events from an event stream using tagged rules: GIVEN: an Event of roughly this format: %{
This module is used to start the ExESDB system.
An adapter for Commanded to use ExESDB as the event store. for reference, see: https://hexdocs.pm/commanded/Commanded.EventStore.Adapter.html
A mapper for Commanded to use ExESDB as the event store.
As part of the ExESDB.System,
As part of the ExESDB.System, the EmitterWorker is responsible for managing the communication between the Event Store and the PubSub mechanism.
As part of the ExESDB.System, ExESDB.Emitters is responsible for managing the lifetime of the Emitter processes.
This module contains the environment variables that are used by ExESDB
This module contains the event projector functionality
Though the GatewayAPI GenServer is started on each node in the cluster, it acts as a simple high-availability proxy and load balancer for the GatewayWorker processes in the cluster.
The GatewaySupervisor is responsible for starting and supervising the GatewayWorkers.
GatewayWorker processes are started on each node in the cluster, and contain the implementation functions for the GatewayAPI.
Provides functions for distributing load over the cluster.
This module supervises the Leader Subsystem.
This module contains the leader's reponsibilities for the cluster.
Messages are based on official proto file
Provides metrics for the event store.
This module contains the options helper functions for ExESDB
This module is to interact with the ExESDB.system, running a store called "reg_gh" (Regulate Greenhouse)
The Repl.Observer is a GenServer that
The Repl.Subscriber is a GenServer that:
A snapshot record
Provides functions for working with snapshots
A GenServer wrapper around :khepri to act as a distributed event store. Inspired by EventStoreDB's API.
This module provides functions to get information about the EXESDB event store.
The ExESDB Streams SubSystem.
Provides helper functions for working with event store streams.
This module is responsible for reading events from a stream.
As part of the ExESDB.System,
Provides functions for reading and streaming events from the event store.
This module is responsible for writing events to a stream. It is actually an API style wrapper around the StreamsWriterWorker.
As part of the ExESDB.System,
Provides functions for writing streams
Provides functions for working with event store subscriptions.
Provides functions for working with event store subscriptions.
As part of the ExESDB.System, the SubscriptionsTracker is responsible for observing the subscriptions that are maintained in the Store.
Provides functions for working with event store subscriptions.
This module is the top level supervisor for the ExESDB system. It is responsible for supervising
A module to calculate topic identifiers