tencent cloud

TDMQ for CKafka

Release Notes and Announcements
Release Notes
Broker Release Notes
Announcement
Product Introduction
Introduction and Selection of the TDMQ Product Series
What Is TDMQ for CKafka
Strengths
Scenarios
Technology Architecture
Product Series Introduction
Apache Kafka Version Support Description
Comparison with Apache Kafka
High Availability
Use Limits
Regions and AZs
Related Cloud Services
Billing
Billing Overview
Pricing
Billing Example
Changing from Postpaid by Hour to Monthly Subscription
Renewal
Viewing Consumption Details
Overdue Payments
Refund
Getting Started
Guide for Getting Started
Preparations
VPC Network Access
Public Domain Name Access
User Guide
Usage Process Guide
Configuring Account Permission
Creating Instance
Configuring Topic
Connecting Instance
Managing Messages
Managing Consumer Group
Managing Instance
Changing Instance Specification
Configuring Traffic Throttling
Configuring Elastic Scaling Policy
Configuring Advanced Features
Viewing Monitoring Data and Configuring Alarm Rules
Synchronizing Data Using CKafka Connector
Use Cases
Cluster Resource Assessment
Client Practical Tutorial
Log Integration
Open-Source Ecosystem Integration
Replacing Supporting Route (Old)
Migration Guide
Migration Solution Overview
Migrating Cluster Using Open-Source Tool
Troubleshooting
Topics
Clients
Messages
​​API Reference
History
Introduction
API Category
Making API Requests
Other APIs
ACL APIs
Instance APIs
Routing APIs
DataHub APIs
Topic APIs
Data Types
Error Codes
SDK Reference
SDK Overview
Java SDK
Python SDK
Go SDK
PHP SDK
C++ SDK
Node.js SDK
SDK for Connector
Security and Compliance
Permission Management
Network Security
Deletion Protection
Event Record
CloudAudit
FAQs
Instances
Topics
Consumer Groups
Client-Related
Network-Related
Monitoring
Messages
Agreements
CKafka Service Level Agreements
Contact Us
Glossary
ドキュメントTDMQ for CKafkaUser GuideManaging InstanceBatch Sequential Naming or Naming with Specified Pattern Strings

Batch Sequential Naming or Naming with Specified Pattern Strings

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-01-20 17:02:39

Scenarios

When you create multiple TDMQ for CKafka (CKafka) instances, if you want their names to follow a specific rule, we provide the feature of sorting suffix numbers automatically in ascending order to create instances in batches and the feature of specifying pattern strings. You can access the features via the purchase page or cloud API.
Sort suffix numbers automatically in ascending order: For the setting of the names of multiple purchased instances, numbers are appended to names to indicate the number of CKafka instances (such as ckafka1, ckafka2, ckafka3...).
Specify pattern strings:
Specify a single pattern string: This approach is suitable for scenarios where you need to create n instances and specify that their names contain a serial number which starts to increase from x (such as ckafka3, ckafka4, ckafka5...).
Specify multiple pattern strings: This approach is suitable for scenarios where you want to create n instance names with multiple prefixes, each prefix having a specified serial number (such as ckafka3-big10-test, ckafka4-big11-test, ckafka5-big12-test...).

Operation Steps

Sorting Suffix Numbers Automatically in Ascending Order

You can set the instances you purchased in batches to have names with the same prefix, with only their serial numbers in ascending order. By default, the serial numbers of successfully created instances start to increase sequentially from 1, and the starting serial number cannot be specified.
The following example assumes you purchased 3 CKafka instances and want the generated instance names to follow the rule "ckafka + serial number" (examples of such instance names include ckafka1, ckafka2, and ckafka3).
Operations on the Purchase Page
Operations for the API
1. Purchase 3 instances as instructed in Creating an Instance, and set their names to ckafka according to the naming rule prefix + serial number on the purchase page, as shown in the figure below:

2. Perform operations as instructed on the page and complete the payment.
In ModifyInstanceAttributes of the cloud API, set the relevant fields:
Instance name: Specify ckafka for the InstanceName field.

Specifying Pattern Strings

You can set the instances to have complex names with specified serial numbers. Instance names support specifying single or multiple pattern strings. Set instance names based on actual needs. In the name **{R:x}** with specified pattern strings, x indicates the starting serial number for generating instance names. It can only be a positive integer and cannot be a negative number or decimal.

Specifying a Single Pattern String

In the following example, you want to create 3 instances and specify that their serial numbers start to increase from 3.
Operations on the Purchase Page
Operations for the API
1. Purchase instances as instructed in Creating an Instance, and set their names to ckafka{R:3} according to the naming rule prefix + specified pattern string {R:x} on the purchase page, as shown below:

2. Perform operations as instructed on the page and complete the payment.
In ModifyInstanceAttributes of the cloud API, set the relevant fields:
Instance name: Specify ckafka{R:3} for the InstanceName field.

Specifying Multiple Pattern Strings

In the following example, you want to create 3 instances and want their names to contain the prefixes ckafka, big, and test, with the prefixes ckafka and big followed by serial numbers that start from 13 and 2, respectively (that is, ckafka13-big2-test, ckafka14-big3-test, and ckafka15-big4-test).
Operations on the Purchase Page
Operations for the API
1. Purchase 3 instances as instructed in Creating an Instance, and set their names to ckafka{R:13}-big{R:2}-test according to the naming rule prefix + specified pattern string {R:x}-prefix + specified pattern string {R:x}-prefix on the purchase page, as shown below:

2. Perform operations as instructed on the page and complete the payment.
In ModifyInstanceAttributes of the cloud API, set the relevant fields:
Instance name: Specify ckafka{R:13}-big{R:2}-test for the InstanceName field.

Verifying the Result

After you create instances in batches by sorting suffix numbers automatically in ascending order or specifying pattern strings, you can verify the instance name settings through the following operations.
Log in to the CKafka console to view the created instances, and you will find that the instances you purchased in batches have been named according to the rules you set, as shown in the figure below:



ヘルプとサポート

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

フィードバック