SQS Dead Letter Queues Flashcards
1
Q
What is an SQS Dead Letter Queue (DLQ)?
A
An SQS DLQ is a queue that stores messages from another SQS queue after they fail to process multiple times.
Example: If a message fails to process after 5 attempts, it will be moved to the DLQ.
2
Q
Why use an SQS DLQ and how is it set up?
A
Purpose: To isolate and troubleshoot unprocessable messages.
Setup: Configure by setting a max receive count on the source queue, directing messages to the DLQ after exceeding this limit.
Setting up a DLQ helps in identifying and handling messages that cannot be processed successfully.