Events Modelling
Focuses on
The Business Narrative
e.g.
Ride Requested
Ride Scheduled
The Customer Experience
The Information Context
Consists of
Events
These are the ones recorded to Kafka
Commands
Read Models
Patterns that reduce cost and risks
CQRS
Event Sourcing
Diverse Options for Read Models
Clear System Boundaries / Contracts
What is an Event?
The record of an important business occurrence, decision, or outcome
"What would I have to write down in order to understand this business process?"
Events have a name/type and a data payload
The Stream of all such Events comprise the causal narrative of a bounded context
Event Data
Denormalized
Data covering
All data that is required to understand the event is contained in the event
Large Blobs such as sound or images can use the claim check pattern
Eg. Using the URI of the image instead of the image itself