tencent cloud

TDMQ for MQTT

Related Agreement
개인 정보 보호 정책
데이터 개인 정보 보호 및 보안 계약
문서TDMQ for MQTT

Step 4: Querying Messages and Client Details

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-04-01 16:24:56
After sending and receiving messages, you can view the message content, message trace records, and connected client details for a specified topic in the console.

Querying Messages

1. Log in to the TDMQ for MQTT console.
2. In the left sidebar, choose Message Query, select a region, and enter the query criteria according to the prompts.
Current cluster: Select the cluster where the topic to be queried is located.
Topic: Select the topic to be queried. You can enter either the topic name or the topic filter used for subscription.
Start time: Select the start time for the message query, accurate to the millisecond.
Query count: Show the next N messages after the selected time in strict order.
3. Click Query, and the list below displays all the query results in pagination.

4. Locate the message whose content or parameters you want to view, click Details in the Action column to view message details and trace info.


Viewing Client Details

1. Log in to the TDMQ for MQTT console.
2. Click Resource > Client in the left sidebar, select the region and cluster created, and then view the client list.

3. Click the client ID to view detailed information about the client.
Category
Description
Basic Information
Basic information of the client, including client ID, address, connection status, creation time, and MQTT protocol version.
Session Details
The session details block shows the in-memory information of the current session connection. This information is not persistent. After the network is disconnected and reconnected, the data is reset and recounted.
Subscription Relationship
Shows the topics subscribed by the client and their QoS levels, and the counts of unacknowledged and accumulated messages.
Client Certificate
After a client certificate is registered, you can manage it on the page at any time. For example, you can view the status of registered certificates, filter invalid client certificates or those that are expiring within 30 days, and view client details. For client registration methods, see Step 4: Configuring Client Certificate.
Client Event
Supports displaying and querying certificate events and client behavior events within a specified time period, such as going online or offline, and connecting. For details, see Querying Client Events.
Client Message Trace
Supports querying details of a specific client message, such as message ID, request time, and QoS. If the target trace is not found, you can narrow the search by filtering with the precise time and message ID. The message ID can be obtained on the Message Query page.



도움말 및 지원

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

피드백