I want to view and re-drive failed messages lying around in my SQS dead-letter queue (DLQ). Can it be done directly via AWS Console?
PS: In Dec 2021, AWS announced ability to re-drive failed messages in DLQ. While I'm aware that as of June 2023 programmatic re-drive is also available via AWS SDK / CLI, for my current use-case I'm more interested in a quick manual way to re-drive
I played around with SQS section of AWS console and here are my anecdotal findings (please correct me if I'm wrong, incomplete somewhere)
The home page of SQS lists all the 'main' queues as well as their configured dead-letter queues. For e.g. in following screenshot we see 2 pairs of main queues & corresponding DLQs. So goto SQS and under list of queues find the respective DLQ on which re-drive needs to be performed. The same page also shows the no of messages in queue
Click on the name of DLQ and in the page that opens
Image-1: AWS Console SQS page showing main queue & DLQ pairs for SandFire & AEDU
Image-2: (1) View ‘Monitoring’ tab for stats around queue & (2) visit Send and receive messages to View messages. (3) Click on Start DLQ redrive to trigger a re-drive of messages (requires confirmation by clicking on Redrive DLQ button on the next screen)
Image-3: View messages by clicking on Poll for messages button
Image-4: Re-drive messages by clicking on DLQ redrive button (no need to change any settings)