AWS SQS message retention period

后端 未结 1 456
不思量自难忘°
不思量自难忘° 2021-01-08 00:03

According to documentation the maximum for AWS SQS message retention period is 14 days. After that time message will be deleted from the queue.

Is any way with SQS t

相关标签:
1条回答
  • 2021-01-08 00:24

    Well 14 days is max limit you can keep the message. After 14 days you can move that massage to S3 Bucket for backup. Also there is a hack you can do with DLQ.

    Here is a quick hack where you send that message back to the main queue. This is definitely not the best or recommended option.

    1. Set the main SQS queue as the DLQ for the actual DLQ with Maximum Receives as 1.
    2. View the content in DLQ (This will move the messages to the main queue as this is the DLQ for the actual DLQ)
    3. Remove the setting so that the main queue is no more the DLQ of the actual DLQ
    0 讨论(0)
提交回复
热议问题