Message- and Event-Driven Systems with CQRS and Event Sourcing: Web and Cloud Architecture
by Alex Lawrence
Chapter 6 Event Sourcing
Events are a ubiquitous concept for representing facts in software. As part of a message-driven system, they are used to inform interested components about relevant changes. Within a domain model, events describe significant occurrences and allow the integration and synchronization of different transactional boundaries. Combined with a message journal, they can evolve into persistent records of domain knowledge that would otherwise be unavailable. When applying CQRS, events are the key to ensuring a loosely coupled and reactive synchronization of a query model. Even for the user interface, they are often chosen as the medium to represent past actions. In the described scenarios, events are mostly an additional aspect ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access