Posted On: Feb 2, 2022
Amazon Simple Queue Service (SQS) announces support of dead-letter queue (DLQ) redrive to source queue in both AWS GovCloud (US) Regions, giving you better control over the life cycle of unconsumed messages. Dead-letter queues are an existing feature of Amazon SQS that allows customers to store messages that applications could not successfully consume. You can now efficiently redrive messages from your dead-letter queue to your source queue on the Amazon SQS console. DLQ redrive augments the dead-letter queue management experience for developers and enables them to build applications with the confidence that they can examine their unconsumed messages, recover from errors in their code, and reprocess messages in their dead-letter queues.
Amazon SQS is a fully managed message queuing service that makes it easier to decouple and scale microservices, distributed systems, and serverless applications. With dead-letter queue redrive to source queue, you can simplify and enhance your error-handling workflows for standard queues. Often, messages end up in your dead-letter queue when consumer applications stop processing messages as expected. Once your consumer application recovers, you can now more easily redrive the messages from the dead-letter queue to the source queue. This redrive support is available on the Amazon SQS console, making it easier for you to inspect a sample of the messages and move them to source queues with a click of a button.
To get started, navigate to the queue details page on the Amazon SQS console for a queue that you have defined as a dead-letter queue on an existing source queue. Then navigate to the DLQ Redrive workflow page to inspect the messages and select your redrive destination to be the source queue, and click "redrive messages."
To learn more, please visit the Amazon SQS documentation.