March 2025
Intermediate to advanced
202 pages
4h 45m
English
Projections are disposable. They’re the output of a function applied to an event stream and are never used by aggregates or process managers to make decisions. The reason why projections are disposable is that the data in a projection is not used by business logic and is only used as a consumer-facing read model. In other words, nothing on the inside of the perimeter of your event-sourced system relies on a given projection.
Let’s say you have a user-profile projector, and it produces the user profile projection based on user-related events. Every time a UserProfileChanged event occurs, this projection changes. With version 1 of the projector, it stores the user’s first name and surname combined in a single ...
Read now
Unlock full access