Reputation: 188
How to delete message from DLQ when same kind of error keep repeating? for example lambda timed out after 15 minute of execution.
I've integrated SQS with lambda and attached DLQ. SO when lambda got timed out error then that message passed to DLQ. So now DLQ keep processing the message infinite time.
So my question is there any way to delete message after 2 retries from DLQ?
Upvotes: 0
Views: 1421
Reputation: 107
The flow of the message sent by the producer to SQS is as follows:
More info about implementation: https://aws.amazon.com/pt/blogs/compute/using-amazon-sqs-dead-letter-queues-to-replay-messages/
Upvotes: 1