How long are the messages kept on an SQS queue by default?

How long are the messages kept on an SQS queue by default?

How long are the messages kept on an SQS queue by default?

A.
If a message is not read, it is never deleted

B.
2 weeks

C.
1 day

D.
4 days

Explanation:
The SQS message retention period is configurable and can be set anywhere from 1 minute to 2 weeks. The default is 4
days and once the message retention limit is reached your messages will be automatically deleted. The option for longer
message retention provides greater flexibility to allow for longer intervals between message production and consumption.
https://aws.amazon.com/sqs/faqs/



Leave a Reply 1

Your email address will not be published. Required fields are marked *