I have a SQS queue and a DLQ defined.
Some messages were moved to DLQ because of some temoporary issue, so I wanted to move them back to the original queue for processing after the issue resolved.
The fastest way was:
1. Set the original queue as the DLQ on the DLQ queue with max receives 1
2. View the messages on DLQ, which moves the messages.
3. Remove the setting in 1.
I know there are some tools like this: https://github.com/garryyao/replay-aws-dlq , but in my case the above was the fastest solution.
No comments:
Post a Comment