As we have event sourcing aggregates that hold state, the states and events need to be uniquely identifiable. This can be done by a simple, unique ID in the events and aggregate to know about which entity one is talking about.

Reference

Hoffman, Kevin. Real-World Event Sourcing: Distribute, Evolve, and Scale Your Elixir Applications. The Pragmatic Bookshelf, 2025. The Pragmatic Programmers.

Highlights or timestamps

Real-World Event Sourcing

Transclude of 1756163751-real-world-event-sourcing#^000009
Transclude of 1756163751-real-world-event-sourcing#^000010