tencent cloud

TDMQ for RocketMQ

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Introduction and Selection of the TDMQ Product Series
What Is TDMQ for RocketMQ
Strengths
Scenarios
Product Series
Comparison with Open-Source RocketMQ
High Availability
Quotas and Limits
Supported Regions
Basic Concepts
Billing
Billing Overview
Pricing
Billing Examples
Pay-as-you-go Switch to Monthly Subscription (5.x)
Renewal
Viewing Consumption Details
Refund
Overdue Payments
Getting Started
Getting Started Guide
Preparations
Step 1: Creating TDMQ for RocketMQ Resources
Step 2: Using the SDK to Send and Receive Messages (Recommended)
Step 2: Running the TDMQ for RocketMQ Client (Optional)
Step 3: Querying Messages
Step 4: Deleting Resources
User Guide
Usage Process Guide
Configuring Account Permissions
Creating the Cluster
Configuring the Namespace
Configuring the Topic
Configuring the Group
Connecting to the Cluster
Managing Messages
Managing the Cluster
Viewing Monitoring Data and Configuring Alarms
Cross-Cluster Message Replication
Use Cases
Naming Conventions for Common Concepts of TDMQ for RocketMQ
RocketMQ Client Use Cases
RocketMQ Performance Load Testing and Capacity Assessment
Access over HTTP
Client Risk Descriptions and Update Guide
Migration Guide for TencentCloud API Operations Related to RocketMQ 4.x Cluster Roles
Migration Guide
Disruptive Migration
Seamless Migration
Developer Guide
Message Types
Message Filtering
Message Retries
POP Consumption Mode (5.x)
Clustering Consumption and Broadcasting Consumption
Subscription Relationship Consistency
Traffic Throttling
​​API Reference(5.x)
History
API Category
Making API Requests
Topic APIs
Consumer Group APIs
Message APIs
Role Authentication APIs
Hitless Migration APIs
Cloud Migration APIs
Cluster APIs
Data Types
Error Codes
​​API Reference(4.x)
SDK Reference
SDK Overview
5.x SDK
4.x SDK
Security and Compliance
Permission Management
CloudAudit
Deletion Protection
FAQs
4.x Instance FAQs
Agreements
TDMQ for RocketMQ Service Level Agreement
Contact Us

SDK Overview

PDF
Focus Mode
Font Size
Last updated: 2026-01-23 17:52:23
TDMQ for RocketMQ is a code branch independently maintained by Tencent Cloud and is 100% compatible with the RocketMQ protocol, featuring high performance, high availability (HA), high reliability, high elasticity, and high security. This document mainly introduces the compatibility description for different SDK versions of TDMQ for RocketMQ clusters and the collection of connection information before using a client to send and receive messages, such as obtaining the cluster access point and the role and token for accessing the cluster.

Compatibility Description

TDMQ for RocketMQ 5.0 provides a brand new 5.x SDK based on the gRPC protocol. The new SDK version is more lightweight and offers better multi-language support. Therefore, it is recommended that it be used preferentially. In addition, the TDMQ for RocketMQ 5.x series also supports using a 4.x SDK to access existing businesses. Compatibility details are as follows:
Server Version
Client Version
Compatibility
5.x
5.x SDK
Fully compatible.
4.x SDK
Version 4.9.5 or later
PushConsumer CONSUME_FROM_TIMESTAMP is not effective. (The offset can be reset in the console.)
The maximum setPullBatchSize value for the consumer is 32. (The server will ultimately limit it to 32.)
Versions earlier than 4.9.5
PushConsumer CONSUME_FROM_TIMESTAMP is not effective. (The offset can be reset in the console.)
The maximum setPullBatchSize value for the consumer is 32. (The server will ultimately limit it to 32.)
PullConsumer consumption is not supported.

Client Network Environment Description

A client can connect to and access a TDMQ for RocketMQ cluster through the following three network methods:
1. Direct access within the same Virtual Private Cloud (VPC) network
The client and TDMQ for RocketMQ cluster are deployed within the same VPC network, and can be interconnected by default. The client can directly access the TDMQ for RocketMQ cluster through a VPC network access point.
2. Cross-VPC communication through Cloud Connect Network (CCN)
If the client and the TDMQ for RocketMQ cluster are deployed in different VPC networks, they cannot communicate with each other directly because different VPC networks are logically isolated. To enable VPC networks in different regions under the same account to communicate with each other, use CCN.
3. Public network access
If the client is deployed in other network environments or in a different region from the TDMQ for RocketMQ cluster, a public network route can be configured, and the client can access the TDMQ for RocketMQ cluster through a public network access point.
For details about network environments, see Network Connection Description.

Obtaining Connection Information

You need to log in to the TDMQ for RocketMQ console to obtain the following connection information.
1. Cluster access point address and port information
The cluster access point address can be obtained from the Access Information module on the Basic Information page of the cluster. Select an access point based on the network type.

2. Namespace name (required only for 4.x exclusive clusters and virtual clusters)
It can be obtained from the Namespace List page in the console.

3. Role and role token for accessing the cluster. Ensure that the user has been granted the access permissions.
It can be obtained on the Cluster Permissions (5.x cluster) or Role Management (4.x cluster) page in the console.

4. Topic name
It can be obtained on the Topic List page in the console.

5. Group name
It can be obtained on the Group List page in the console.

Help and Support

Was this page helpful?

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

Feedback