March 2025
Intermediate to advanced
202 pages
4h 45m
English
As you’ve learned the building blocks in the first chapters of the book, you’ve also picked up a few rules worth going over again to help you understand why aggregates and projectors exist. One is that neither projectors nor aggregates are allowed to access the “wall clock,” which stems from the law that all data required must be on the events. If an aggregate’s state can be different after applying an event first thing in the morning versus late at night, then it’s no longer predictable and repeatable as required by aggregates. You’ll also see how accessing a real clock can ruin replays in Chapter 6, "Building Resilient Applications with Persistent Events," .
The other event sourcing law ...
Read now
Unlock full access