EventSauce has two connections to persistence.
Messages for reconstituting aggregates.
MessageDispatcherwhich is used to communicate
The message repository stores messages that aggregate roots use for reconstitution. The repository has specific methods to query messages that belong to a single aggregate root. A message repository should only be used for reconstitution. Performing arbitrary queries on the underlying database is not advised, use a projection for this instead.
There are 3 message repository implementations shipped:
Each of the implementations support two database table schemas.
Learn more about message storage
View the docs for message storage to learn more.