How do dead-letter queues and redrive work in SQS?
IntermediateConceptDNS, CDN and Messaging
Answer
A redrive policy on the source queue specifies a DLQ and maxReceiveCount; once a message has been received that many times without deletion, SQS moves it to the DLQ. A DLQ must be of the same type (standard or FIFO). Retention does not reset when moved, so set DLQ retention to 14 days.
After fixing the bug, use DLQ redrive (console or aws sqs start-message-move-task) to send messages back to the source.
More on DNS, CDN and Messaging
What are the Route 53 record types and why use Alias instead of CNAME?BeginnerDescribe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateHow does DNS TTL relate to failover and migrations?BeginnerWhat are Route 53 Resolver endpoints and rules?Advanced