Interview practice question
Replaying events to repair corrupted data
Backend Engineering · Microservices · Experienced
A bug in a consumer corrupted read model data for the last three days. How do you repair it using events?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Fix bug and deploy first.
- Replay from retained log (Kafka offsets reset).
- Rebuild projection in new table, then swap.
- Idempotent handlers; avoid re-triggering side effects.
- Verify with reconciliation.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.