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

Creating Consumer Group

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-01-20 16:52:41

Scenarios

A consumer group is a scalable and fault-tolerant consumer mechanism provided by Kafka. A consumer group contains multiple consumers, and all consumers in the group collectively consume messages from subscribed topics. A consumer can consume multiple partitions simultaneously, but a partition can only be consumed by one consumer in the consumer group.

Constraints and Limitations

It is recommended that the total number of all automatically and manually created consumer groups under a single instance do not exceed 500. Exceeding this number may result in certain limitations.

Operation Steps

Manually Creating a Consumer Group via the Console
Automatically Creating a Consumer Group via the Client
2. In the left sidebar, select Instance List, select the target region, and click the ID of the target instance to go to the basic instance information page.
3. On the basic instance information page, select the Consumer Group tab, click Create Consumer Group, and set the consumer group information.
Consumer group name: This is a custom name, must comply with the naming rules, can only contain letters, digits, underscores (_), hyphens (-), and periods (.), and must start with a letter.
Select a topic: In the drop-down list, select topics to which the consumer group will subscribe. You can select multiple topics simultaneously.

4. Click Submit, and you can see the newly created consumer group in the Consumer Group list.
Note:
For consumer groups created in the console, their offset will start from the latest, meaning the consumer group only consumes new messages generated after its creation. If you need to consume historical messages, you can reset the consumption offset in the console before using this consumer group. For details, see Viewing and Manually Resetting a Consumption Offset.
Auto-Create Consumer Group indicates that when a new consumer group subscribes to a topic for the first time, the client automatically checks whether the consumer group exists. If not, and the consumer group name complies with naming rules (can only contain letters, digits, underscores (_), hyphens (-), and periods (.), and must start with a letter), the system will automatically create this consumer group.
CKafka enables the automatic creation of consumer groups by default. You can manually enable or disable this feature in the CKafka console. Once disabled, only existing consumer groups in the console can be used, and new consumer groups cannot be created automatically.
Only the Pro Edition instances with version 2.4.1 or later support manually disabling the automatic creation of consumer groups in the console.

Enabling/Disabling Automatic Creation of a Consumer Group

1. Log in to the CKafka console.
2. In the left sidebar, select Instance List, select the target region, and click the ID of the target instance to go to the basic instance information page.
3. In the Consumer Group Configuration module, click Configuration in the upper-right corner to manually enable or disable the automatic creation of consumer groups.



ヘルプとサポート

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

フィードバック