tencent cloud

TDMQ for RocketMQ

Introduction

Download
フォーカスモード
フォントサイズ
最終更新日: 2026-05-14 11:16:17

Overview

TDMQ for RocketMQ (Tencent Distributed Message Queue for RocketMQ, referred to as TDMQ for RocketMQ) is a distributed and highly available message queue service. Based on Apache RocketMQ 4.x and 5.x architectures, it offers different product forms, supports zero-modification client access for RocketMQ 4.4.x and above versions, and features compute-storage separation with flexible scaling at the underlying layer. TDMQ for RocketMQ supports throughput in the millions of TPS, making it suitable for various large-scale, low-latency online messaging scenarios requiring high reliability.
This section introduces the TDMQ RocketMQ 5.x version API interfaces, which are all API 3.0 interfaces. You can call the API to perform operations on TDMQ RocketMQ 5.x clusters, such as creating a cluster or Topic.
For ALL supported API information of TDMQ RocketMQ 5.x, please refer to the 5.x API overview.
For all supported APIs of TDMQ RocketMQ 4.x, please refer to the 4.x API overview.

Glossary

Common terminology for TDMQ RocketMQ API interface see the table below:

Term Description
A cluster is a resource dimension in TDMQ RocketMQ. Topics, groups, and other resources in different clusters are completely isolated from each other. Each cluster has resource limits, such as the total number of topics and message retention time.
Topic represents a collection of messages. Each topic contains several messages and is the basic unit for message subscription in RocketMQ.
Groups can be divided into Producer groups and Consumer groups:
  • Producer Group: A collection of producers of the same type. These producers send the same type of messages with consistent sending logic. If transaction messages are sent and the Producer crashes after sending, the Broker server will contact other Producer instances in the same Producer Group to submit or roll back consumption.
  • Consumer Group: A collection of consumers of the same type. These consumers usually consume the same type of messages with consistent consumption logic. Consumer groups implement load balancing and fault tolerance in message consumption. Consumer instances in a Consumer Group must subscribe to exactly the same Topic.
  • Producers are running entities in the RocketMQ system used to build and transmit messages to the server. Producers are usually integrated in the business system to encapsulate business messages into messages as required and send them to the server.
    A Consumer is a running entity in RocketMQ responsible for receiving and handling messages. Typically integrated in the business system, it obtains messages from the server and converts them into business-understandable information for business logic processing.

    For other relevant terminology, please see the basic concept (https://www.tencentcloud.com/document/product/1493/61581?from_cn_redirect=1).

    Usage limits
    For usage limits of TDMQ RocketMQ, please refer to Quotas and Limits.
    For specific parameter limits, refer to the parameter descriptions in the API documentation.

    Getting Started with APIs

    You can use the API Explorer tool to call APIs online.
    This document uses a TDMQ RocketMQ 5.x cluster as an example. The steps to make an API call via the API Explorer Tool are as follows:

    1. Go to the API Explorer tool page. For more information about API Explorer tool usage, see Using API Explorer.
    2. Call the CreateInstance API to create a cluster.
    3. Call the CreateTopic API to create a Topic within the cluster.
    4. Call the CreateConsumerGroup API to create a group within the cluster.
    5. Call the CreateRole API to create a role within the cluster and grant it production/consumption permissions.
    6. Use client to send/receive messages (This operation cannot be performed through API interface).

    ヘルプとサポート

    この記事はお役に立ちましたか?

    フィードバック