tencent cloud

문서TDMQ for MQTT

Guide for Getting Started

포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-04-01 16:24:55
This document describes how to get started with TDMQ for MQTT. It covers how to create an MQTT cluster, connect to it using our SDK demo to publish and subscribe to messages, view message data in the console, and finally terminate resources, helping you quickly get started with TDMQ for MQTT services.

Network Connection Instructions

The MQTT cluster supports both private and public network access. Based on your network environment, choose an appropriate access method:
For private network access, if the client and the MQTT cluster are deployed in the same VPC network, they can interconnect with each other by default, and no additional configuration is required.
For public network access, you need to enable a dedicated public network route and configure a secure access policy to allow access from designated IP addresses.
For more details, see Network Connection Instructions.

Getting Started Workflow

The getting started workflow of TDMQ for MQTT is as follows:
Step
Main Operation
Operation Instructions
1
Preparations
Before getting started with MQTT, you need to complete some preparations, such as registering a Tencent Cloud account with MQTT resource operation permissions and setting up a VPC.
2
Creating a cluster and configuring the network
After completing the preparations, you can log in to the TDMQ for MQTT console to purchase an MQTT cluster with appropriate specifications according to your actual needs, and configure the network access points based on your network environment.
3
Configuring authentication and authorization information
After creating an MQTT cluster, you need to configure authentication and authorization information for the cluster to ensure secure communication between clients and the server.
4
Using the SDK to Send and Receive Messages
After completing the cluster and user permission configurations in the console, you can use the SDK demo we provide to connect to the cluster and perform message sending and receiving tests.
5
Querying messages and client details
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.
6
Terminating resources
After you complete the getting started process, the purchased cluster can be used for your production environment. If the cluster is no longer needed, you can terminate its resources. Refunds will be processed based on your billing method and usage duration, and the associated data will be cleaned up.

도움말 및 지원

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

피드백