What's an event
Events are time-indexed data
Each aggregate is represented with a stream of events
Aggregates are domain data (e.g classes in OOP) sharing a common lifecycle
What we need to do
Make a design for row keys to represent events
Constraints
It must allow for :
- Selection of all aggregates of an aggregate type
- Selection of an aggregate by id
- Selection of an event
- Selection of events between X and Y (with X, Y being timestamps)
What's an event
Events are time-indexed data
Each aggregate is represented with a stream of events
Aggregates are domain data (e.g classes in OOP) sharing a common lifecycle
What we need to do
Make a design for row keys to represent events
Constraints
It must allow for :