Multiple ChoiceHard 45s
Event sourcing: projections and replay
When an event-sourced system changes a projection's logic, what is the standard way to correct existing read models?
Options
- 1Edit the stored events in place. Make their payloads match the new projection logic.
- 2Delete the entire event stream. Bootstrap a fresh read model from current state.
- 3Replay the event stream through the new projection into a fresh read model
- 4Run an UPDATE against the event table. Rewrite the fields the projection depends on.
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.