Ravi Sir's Cards › AWS
What happens when the worker keeps failing?
This interview card answers: What happens when the worker keeps failing? After visibility timeout the message reappears. After maxReceiveCount it can go to a dead-letter queue (DLQ). DLQ protects the main queue from poison messages and keeps a copy for debugging. Attach redrive policy maxReceiveCount=3 to an SQS DLQ on yourname-orders.
Read card text
What this card says
What it is
After visibility timeout the message reappears. After maxReceiveCount it can go to a dead-letter queue (DLQ).
Why it matters
DLQ protects the main queue from poison messages and keeps a copy for debugging.
How / example
Attach redrive policy maxReceiveCount=3 to an SQS DLQ on yourname-orders.