Choosing an event store
You must decide which event store to use with Commanded. You have a choice between two existing event stores:
There is also an in-memory event store adapter for test use only.
Want to use a different event store? Then you will need to write your own event store provider as described below.
The quickest way to get started with Event Store is by using their official Event Store Docker container.
The Commanded adapter uses the Extreme Elixir TCP client to connect to the Event Store.
You must run the Event Store with all projections enabled and standard projections started.
--run-projections=all --start-standard-projections=true flags when running the Event Store executable.
To use an alternative event store with Commanded you will need to implement the
Commanded.EventStore.Adapter behaviour. This defines the contract to be implemented by an adapter module to allow an event store to be used with Commanded. Tests to verify an adapter conforms to the behaviour are provided in