Amazon SQS DLQ:是否将早于 14 天的 sqs 消息移至 DLQ
Amazon SQS DLQ : Are sqs messages older than 14days moved to DLQ
Amazon SQS 的 DLQ 如何处理旧消息?
早于 14days() 的消息是否会移至 DLQ 而不是被删除?
我没有看到任何关于如何处理旧消息的文档。
从文档来看,似乎只是错误的消息被移到了 DLQ,我的假设对吗?
您的理解是正确的;早于您设置的保留期(最多 14 天)的消息将被删除,而不是移至 DLQ。
SQS automatically deletes messages that have been in a queue for more
than maximum message retention period. The default message retention
period is 4 days. However, you can set the message retention period to
a value from 60 seconds to 1209600 seconds (14 days) with
SetQueueAttributes.
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MessageLifecycle.html
Amazon SQS 的 DLQ 如何处理旧消息? 早于 14days() 的消息是否会移至 DLQ 而不是被删除? 我没有看到任何关于如何处理旧消息的文档。
从文档来看,似乎只是错误的消息被移到了 DLQ,我的假设对吗?
您的理解是正确的;早于您设置的保留期(最多 14 天)的消息将被删除,而不是移至 DLQ。
SQS automatically deletes messages that have been in a queue for more than maximum message retention period. The default message retention period is 4 days. However, you can set the message retention period to a value from 60 seconds to 1209600 seconds (14 days) with SetQueueAttributes.
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/MessageLifecycle.html