tencent cloud

TDMQ for Apache Pulsar

Release Notes and Announcements
Release Notes
Cluster Version Updates
Product Announcements
Product Introduction
Introduction and Selection of the TDMQ Product Series
What Is TDMQ for Apache Pulsar
Strengths
Scenarios
How It Works
Product Series
Version Support Instructions for Open-Source Apache Pulsar
Comparison with Open-Source Apache Pulsar
High Availability
Quotas and Limits
Basic Concepts
Billing
Billing Overview
Pricing
Billing Examples
Renewal
Viewing Consumption Details
Overdue Payments
Refund
Getting Started
Getting Started Guide
Preparations
Using the SDK to Send and Receive General Messages
Using the SDK to Send and Receive Advanced Feature Messages
User Guide
Usage Process Guide
Configuring the Account Permission
Creating a Cluster
Configuring the Namespace
Configuring the Topic
Connecting to a Cluster
Managing the Cluster
Querying Messages and Traces
Cross-Region Replication
Viewing Monitoring Data and Configuring Alarm Rules
Use Cases
Client Usage
Abnormal Consumer Isolation
Traffic Throttling Mechanisms
Transaction Reconciliation
Message Idempotence
Message Compression
Migration Guide
Single-Write Multiple-Read Cluster Migration Solutions
Hitless Migration from Virtual Cluster to Pro Cluster
SDK Reference
API Overview
SDK Reference
SDK Overview
Recommended SDK Configuration Parameters
TCP Protocol (Apache Pulsar)
Security and Compliance
Permission Management
Deletion Protection
CloudAudit
FAQs
Monitoring
Clients
Agreements
Service Level Agreement
TDMQ Policy
Contact Us
Glossary

Creating a Topic Subscription

PDF
Focus Mode
Font Size
Last updated: 2025-12-24 14:59:00
A subscription represents a specific consumer and the subscription relationship to a particular topic. Once a topic is subscribed to by a consumer, the consumer can consume all messages published to that topic. A subscription can span multiple topics. For example, when a user creates a subscription under a topic, both the current topic and the retry queue topic automatically created by the system are subscribed to.

Prerequisites

The corresponding topic has been created. For specific steps, see Creating a Topic.

Operation Steps

2. In the left sidebar, choose Topic, locate the topic for which you want to create a subscription, and click Add Subscription in the operation column.
3. Enter the subscription name and description in the pop-up dialog box.



Subscription Name: Required. The length cannot exceed 128 characters.
Auto-Create Retry & Dead Letter Queue: You can choose whether to automatically create retry and dead letter topics.
Note:
If you choose to automatically create retry and dead letter topics, TDMQ for Apache Pulsar will automatically create a retry queue and a dead letter queue for you. They are presented as two new topics in the topic list. The topics are named as follows:
2.9.2 version cluster: [Topic name]-[Subscription name]-RETRY
2.7.2 version cluster: [Subscription name]-RETRY
For concepts and usage of retry queues and dead letter queues, see Message Retry and Dead Letter Mechanisms.
Note: It cannot contain more than 200 characters.
4. Click Save to complete the creation.
5. After creation, you can click View Subscription/Consumer in the operation column to view the subscriptions to this topic, and then view the newly created subscription in the list.


Help and Support

Was this page helpful?

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

Feedback