tencent cloud

Adjusting the Message Retention Time
Last updated:2026-01-23 17:34:04
Adjusting the Message Retention Time
Last updated: 2026-01-23 17:34:04
To allow users to adjust the message retention time based on different business requirements, TDMQ for RocketMQ supports modifying the message retention time in the console. The following table describes the specific adjustment range and dimensions.
Cluster Type
Default Value
Adjustable Range
Adjustment Dimension
5.x clusters of the Pro/Platinum edition
3 days
1–7 days
Topic
5.x clusters of the Trial/Basic editions
3 days
1–3 days
Cluster
4.x exclusive clusters/general clusters
3 days
1–7 days
Cluster
If you require a longer message retention time, submit a ticket to apply for support.

Adjusting the Cluster-Level Message Retention Time

1. Log in to the TDMQ for RocketMQ console.
2. In the left sidebar, choose Resource > Cluster, select a region, and click Edit in the operation column of the target cluster.
3. In the pop-up window, modify the message retention time and click Submit to complete the adjustment.

Adjusting the Topic-Level Message Retention Time

1. Log in to the TDMQ for RocketMQ console.
2. In the left sidebar, choose Resource > Topic, select a region and cluster, and click Edit in the operation column of the target topic.
3. In the pop-up window, modify the message retention time and click Submit to complete the adjustment.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback