tencent cloud

TDMQ for MQTT

Release Notes and Announcements
Release Notes
Product Introduction
TDMQ Product Series Introduction and Selection
What Is TDMQ for MQTT
Scenarios
Technical Architecture
Product series
MQTT Protocol Compatibility Notes
Comparison with Apache
High Availability
Product Constraints and Usage Quota
Basic Concepts
Supported Regions
Billing
Billing Overview
Renewal Instructions
Viewing Consumption Details
Overdue Payment Instructions
Refund
Getting Started
Guide for Getting Started
Preparations
Public Network Access
VPC Network Access
User Guide
Usage Process Guide
Configuring Account Permission
Creating a Cluster
Managing Topic
Connecting to the Cluster
Querying Messages
Managing Client
Managing a Cluster
Viewing Monitoring Metrics and Configuring Alarm Policies
Data Integration
Integrating Data Into SCF
Integrating Data Into CKafka
Integrating Data into RocketMQ
Development Guide
MQTT 5 Advanced Features
Data Plane HTTP API Description
Quota and Flow Control Mechanism Description
Configuring a Custom Domain Name
Configuring SQL Filtering
Configuring Point-to-Point Subscription
MQTT over QUIC
Managing Client Subscription
Message Enhancement Rule
Use Cases
Must-Knows for MQTT Client Development
Observability
Topic and Wildcard Subscriptions
​​API Reference
History
Introduction
API Category
Making API Requests
Cluster APIs
Topic APIs
Authorization Policy APIs
User APIs
Client APIs
Message Enhancement Rule APIs
Message APIs
Data Types
Error Codes
SDK Reference
Access Point Format
Java SDK
C SDK
Javascript/Node.JS/Mini Program
Go SDK
iOS SDK
JavaScript SDK
Dart SDK
Python SDK
.NET
Security and Compliance
Permission Management
FAQs
Related Agreement
Privacy Policy
Data Privacy And Security Agreement
TDMQ for MQTT Service Level Agreement
Contact Us

Managing Topic

PDF
Focus Mode
Font Size
Last updated: 2026-04-01 16:30:53

Scenarios

The MQTT protocol is based on the publish/subscribe (Pub/Sub) model. Topics are used to categorize and manage messages generated by the system. Clients can subscribe to one or more topics to receive messages on those topics. Clients can also publish messages to a topic so that other clients subscribed to that topic can receive them. According to the standard MQTT protocol, topics support a hierarchical structure and are dynamic, using "/" as the delimiter between levels.

Features

TDMQ for MQTT supports automatic topic creation. You can send and receive messages without creating topics in advance. Additionally, to help you manage topics, TDMQ for MQTT supports viewing monitoring metrics for specified topic prefixes. For example, when you use topic "AAA" for messaging, this topic serves as a top-level prefix. You can then view monitoring data for all related sub-topics under this prefix, such as "AAA/1", "AAA/2", "AAA/BBB/CCC". This allows you to monitor business metrics for each topic prefix in real time.
Note:
Previously created top-level topics automatically become topic prefixes, and you can view monitoring data for all sub-topics under these prefixes.
To facilitate management and monitoring of key topics, you can configure up to three levels of topic prefixes. For example, after configuring the "a/b" prefix, you can view metrics for topics such as "a/b/1", "a/b/2", ..., "a/b/n". For details, see Viewing Monitoring Data.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback