Interview practice question
A bad message blocks the queue
Backend Engineering · Microservices · Intermediate
A malformed message causes your consumer to crash on every attempt, and no other messages are processed. How do you handle it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Poison message.
- Limit retries per message.
- Move to dead-letter queue.
- Alert and inspect DLQ.
- Fix and replay; validate inputs.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.