Interview practice question
Consumer crashing on a bad message
Data Engineering · Kafka Streaming · Beginner
A consumer keeps crashing on one malformed message and the partition is stuck. What do you do?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Poison pill message blocks progress.
- Catch deserialization and processing errors.
- Send bad messages to a dead letter topic with error details.
- Continue processing; alert on DLQ.
- Fix the producer and add schema validation.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.