I’m curious about the use of EventStoreDB in an event-driven microservice environment.
General consensus seems to be that a microservice will ideally will have its own ‘store’ and in this scenario the store will be EventStoreDB. However, if I want my other microservices to know about the domain events in another microservice then having them subscribed to the event store seems like an effective approach but suffers because all of my services rely on a single instance of EventStoreDB.
An alternative seems to be to have the microservice write to its private EventStoreDB and then to use a subscription to output the same events to an event bus for other microservices to consume if they’re interested.
The alternative approach feels like it may be quite clean albeit with some extra plumbing involved.
Any comments welcome.