Help Center/ Distributed Message Service/ FAQs/ How Long Can a Message be Retained in a Queue?
Updated on 2023-09-04 GMT+08:00

How Long Can a Message be Retained in a Queue?

In standard queues, messages are retained for at least 72 hours and will be deleted 72 hours later. In Kafka queues, messages are retained for 1 to 72 hours, depending on what you choose when creating a queue. In Kafka premium instances, messages are retained for 1 to 168 hours, depending on what you choose when creating a topic.