Interview practice question
Duplicate events after a CDC connector restart
Backend Engineering · Microservices · Experienced
After your Debezium connector restarted, downstream services processed thousands of duplicate change events. How do you make the pipeline resilient to this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- CDC is at-least-once.
- Offsets committed periodically → replay after restart.
- Consumers idempotent by key + LSN/version.
- Ignore events older than stored version.
- Monitor connector health and lag.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.