Event Replay - Middle¶
Create a new versioned projection, replay historical partitions, then consume the remaining live tail before atomic cutover.
flowchart LR
History --> Replay --> Catchup[Catch up to live offset] --> Verify --> Swap[Atomic alias swap]
Store the last applied offset/version with each aggregate. Throttle replay so it does not starve live consumers. Compare counts, checksums, and sampled aggregates before switching the serving alias. Test yourself¶
- What marks replay progress?
- How does blue/green cutover avoid downtime?
- Why throttle historical replay? Continue to
senior.md.