tencent cloud

All product documents
TDMQ for RocketMQ
Delayed Message Query
Last updated: 2025-01-25 12:11:01
Delayed Message Query
Last updated: 2025-01-25 12:11:01

Overview

Scheduled/Delayed messages are important message types in RocketMQ.
Timed message : After a message is sent to the server, the actual business does not want the consumer to receive the message immediately. Instead, it postpones it to a certain time point for consumption. Such messages are collectively called timed messages.
Delayed message : After a message is sent to the server, the actual business does not want the consumer to receive the message immediately. Instead, it postpones it by a certain time period for consumption. Such messages are collectively called delayed messages.
Delayed messaging can be seen as a special form of scheduled messaging, and its implementation effect is the same as that of scheduled messaging.

Query Limitations

Since RocketMQ sets a message retention time, messages with consumption completed will be retained on the server for a period of time (the time is three days for the experience and basic versions, and the professional and platinum versions support time adjustment at the Topic level, supporting 7 days or longer). Delayed and scheduled messages within the retention time can be queried.
For example, if a cluster sends a delayed message with a 10-day delay at 1:00 AM on January 1, and the cluster's retention time is three days, the message will be sent to consumers at 1:00 AM on January 11. Assuming consumer consumption is successful, the message can be queried on the current page until 1:00 AM on January 14.

Operation Steps

1. Log in to the TDMQ RocketMQ Console and click Delayed Message Query in the left navigation bar.
2. On the Message Query page, select a region and enter the query criteria according to the prompts.
Current Cluster: Select the cluster where the dead letter messages to be queried are located.
Message ID: Enter the message ID to precisely locate any message.
3. Click Query. The list below will display all the queried results in pages.

4. After completing the query, you can view the creation and production time of the message. Similar to other message query results, you can view the trace and perform export operations on the message.

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

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support