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
DocumentationTDMQ for MQTTProduct IntroductionMQTT Protocol Compatibility Notes

MQTT Protocol Compatibility Notes

PDF
Focus Mode
Font Size
Last updated: 2026-04-01 16:21:33
This document introduces the compatibility of TDMQ for MQTT with the MQTT protocol, as well as differences in supported features across protocol versions.

Protocol Compatibility Notes

TDMQ for MQTT is fully compatible with the standard MQTT 3.1, MQTT 3.1.1, and MQTT 5.0 protocols, supporting multi-language client access such as Java, C, C++, Golang, Python, .NET, and Rust from the open-source community.
For the latest 5.0 protocol, all standard protocol features are supported except the following:
AUTH Packet: a control packet (Packet Type = 0x10) newly added in MQTT 5.0 for multi-round authentication negotiation. For complex authentication scenarios, TDMQ for MQTT additionally supports non-standard authentication methods (such as one-device-one-certificate). For details, refer to Authentication Method Overview.
Will Delay Interval: one of the Will Properties of the CONNECT packet, used to define the delay in seconds before sending the Will message if a device goes offline unexpectedly. Since the property is not supported, the value passed by the client cannot be recognized by the server and defaults to 0.
Server Redirection: the backup server address returned by the server in the CONNACK packet. As a commercial product, TDMQ for MQTT provides stable service availability (SLA). In case of a server failure, the underlying resources automatically switch without changing the client's access point, so the client does not need to be aware of the backup server address.
For the features not yet supported, TDMQ for MQTT will provide support as soon as possible. You can follow the latest Release Notes.

Capability Differences Across Different Protocol Versions

The 5.0 protocol enhances the following features on the basis of the 3.1.1 protocol. For detailed differences, refer to 5.0 Standard Protocol Reference and 3.1.1 Standard Protocol Reference:
Included the "Reason Code" field in the packet structure, offering more reason codes and detailed error reports.
Enhanced session management, that is, properties such as Clean Start and Session Expiry Interval for connections.
A mechanism for adding User Properties to multiple packet types, enabling custom metadata transmission and offering higher scalability.
Shared Subscriptions: TDMQ for MQTT provides compatibility and enhancement at the server side. It supports clients using the 5.0, 3.1, or 3.1.1 protocols.
Topic Aliases.
Traffic control (Receive Maximum).
Enhanced authentication by introducing AUTH packets.
Provides the reason and reconnection address when the server disconnects.
It is recommended to upgrade the client SDK to the MQTT 5.0 version as soon as possible to enjoy more features.


Help and Support

Was this page helpful?

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

Feedback