Hi Allard,
I was reading through the docs and came across that part for Replaying events from the event store. I’m kind of new to Event Sourcing, so I have several questions.
In a eCommerce application we have 3 write models to handle an Order processing and a query model model that serves as a reporting database.
Each of the write models is a stand alone service that run on a different machine with its own database. Necessary data is duplicated across all models to insure services are autonomous.
The 1st write model handles Order placement. The 2nd handles Order procurement. The 3rd handles Order shipment.
Questions:
-
Should I have a single Event store for all 3 services? or should each service have its standalone Event Store?
-
In case of multiple Event stores, how do I replay events from all 3 services to handle a new query requirement? Does Axon support replaying for multiple Event Stores or must I replay them in series?!
-
Do I still need a database for the write model if an Event Store is used?