tencent cloud

TDMQ for RocketMQ

Step 3: Querying Messages

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-23 17:16:38
After completing message sending and receiving, you can use the message query feature in the console to view the message content and trace records for a specified topic.

Operation Steps

1. Log in to the TDMQ for RocketMQ console. In the left sidebar, choose Message Query > General Query.
2. On the Comprehensive Query page, select a region and enter the query conditions according to the prompts.
Cluster: Select the cluster where the topic to be queried is located.
Topic: Select the topic to be queried.
Time Range: Select the time range of the query. Available options: last 100 messages (displayed in chronological order by default), last 30 minutes, last 1 hour, last 6 hours, last 24 hours, last 3 days, and a custom time range.
Query Methods: The message query feature supports the following query methods:
Query all: This method is suitable for querying all messages.
By message ID: This is a precise query method, with quick speed and accurate matching.
By message key: This is a fuzzy query method suitable for scenarios where you have not recorded the message ID but have set a message key. The query results display up to 64 messages. You can narrow down the query time range to pinpoint the desired messages.
Query by message tag: This is a fuzzy query method suitable for scenarios where you have not recorded the message ID but have set a message tag. The query results display up to 64 messages. You can narrow down the query time range to pinpoint the desired messages.
3. Click Query. The list at the bottom of the page displays all query results with pagination.

4. Find the message whose content or parameters you want to view, and click View Details in the operation column to view the basic information, content (message body), detailed parameters, and consumption status of the message.

5. Click View Message Trace in the operation column, or click the Message Trace tab on the details page to view the message trace. For detailed description, see Message Trace and Description.





도움말 및 지원

문제 해결에 도움이 되었나요?

피드백