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

Step 3. Creating Topic

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-20 16:43:55

Scenarios

Before using TDMQ for CKafka (CKafka) for message sending and receiving, you need to create a topic resource in your existing CKafka instance. Producers send messages to a specified topic, while consumers consume them by subscribing to the topic. This document describes how to create a topic in the CKafka console.

Prerequisites

Operation Steps

1. Log in to the CKafka console.
2. In the left sidebar, select Instance List, locate the pre-created instance, and click the instance ID to go to the instance details page.
3. On the instance details page, select the Topic List tab at the top of the page, and click Create.
4. In the topic editing window, specify the information, such as the number of partitions and the number of replicas.
Parameter
Description
Name
A topic name cannot be changed after being set. It can only contain letters, digits, underscores, hyphens (-), and periods (.), and cannot start with double underscores.
Number of Partitions
A topic can contain one or more partitions, which serve as the basic units of assignment in CKafka. The default deployment architecture requires at least 3 nodes. It is recommended to start with 3 partitions to ensure a more even distribution of data. In this example, you can keep the default value.
Number of Replicas
The number of replicas for a partition ensures its high availability. To ensure data reliability, 2 replicas are enabled by default. In this example, you can keep the default value.
Tag
Tags are used to categorize and manage resources from different dimensions. This field can be left blank.
retention.ms
The message retention period at the topic level ranges from 1 minute to 90 days. In this example, you can keep the default value.
Advanced Configurations
Advanced parameter configuration for the topic. You can skip this section.
5. Click Submit to complete the topic creation.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백