Can you explain how the Event Sourcing pattern is used in microservices?
Event Sourcing is a pattern where the state of a system is determined by a series of events
(or changes) rather than storing the current state in a database. Each event represents a
change in state, and all events are stored in an immutable log.
In microservices: