Configure Persistence
Last updated at 26 March 2018 | Published at 05 March 2018
EventSauce has two connections to persistence.
- The
MessageRepository
which containsMessage
s for reconstituting aggregates. - The
MessageDispatcher
which is used to communicateMessage
s withConsumer
s.
Because of EventSauce’s design it’s possible to use traditional tools
to work like an event store. Databases like Event Store
implement both required capabilities. In these cases you only need to use
the MessageRepository
on the side where we produce messages.
Provided bindings:
Name | R | D |
---|---|---|
eventsauce/doctrine-message-repository | ✅ | ❌ |
eventsauce/rabbitmq-bundle-bindings | ❌ | ✅ |
R: Repository, D: Dispatcher