1 Answer
- Newest
- Most votes
- Most comments
1
SQS deltes the message after reaching the retention period. There is no way to retrieve those messages any more.
You might want to monitor the ApproximateAgeOfOldestMessage metric to avoid something like this happening in the future as described at Monitor SQS queues with CloudWatch metrics and alarms.
answered 3 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
We thought that Message retention period is supposed to impact sending this message to Dead Letter Queue.. We were surprised to find out that only way to get into dead letter queue is by Maximum receives when we have "traffic jam" in the queue our messages don't necessarily reach the Maximum receives couldn't it be similar to car's insurance rules? - either 3 years (Message retention period) or 80K Kilometers (Maximum receives)
How do u suggest to handle those old messages when we get a "traffic jam"? just extending the Message retention period..? Do you plan to provide a way to mark that we do want old messages to be moved to the dead letter queue instead of them being deleted?