How does the Event Sourcing pattern fit into microservices?
Event Sourcing is a pattern where state changes are not stored directly in a database, but
instead, each state transition (or change) is stored as an event. The state of the system can
be recreated by replaying these events. In a microservices architecture, each service stores
and manages its own events, which makes it easier to decouple services and manage their
state independently.
How it fits into microservices: