Step 2. Create a topic

Last updated: 2023-09-07 16:11:29

Scenario

This document describes how to create a topic in a created instance in the CKafka console.

Instructions

1. Log in to the CKafka console.
2. On the Instance List page, click on the "ID/Name" of the instance created in Step 1 to access the instance details page.
3. On the instance details page, click Topic Management at the top of the page, and click Create.
4. In the Create Topic window, set the number of partitions and replicas and other parameters.



Name: the topic name, which cannot be changed once entered and can contain only letters, digits, "_", "-", and ".".
Partition Count: It is a concept in physical partition, where one topic can contain one or more partitions. CKafka uses partition as an allocation unit.
Replica Count: the number of partition replicas, which ensure the availability of partitions. For data reliability concerns, CKafka does not support single-replica topics currently. 2 replicas are created by default. Replicas are also counted into the number of partitions. For example, if you create 1 topic with 6 partitions and 2 replicas for each partition, then you have a total of 12 partitions (1 x 6 x 2).
Tags: Set resource tags. For a detailed introduction to tags, please refer to Tag Management.
Preset ACL Policy: Select the preset ACL policy. For more information on ACL policy, see Configuring ACL Policy.
5. Click Submit to complete the creation of the Topic.