Topic management
Topic management
Kafka's distributed system uses a topic and partition model to organize data.
Topic is the principle of categorizing a message thread. A topic can be handled independently by several producers and consumers who have been given access to it.
Sections
Each topix can have several partitions — physical data storage units. Partitions are used for parallel data processing and system scaling. Each message is written to a specific partition of the topix. All messages within one partition retain their order.
When creating a topic, you can define the number of sections in the topic. After creating a cluster, you can only increase the number of topics.
Create a topic
- In the Control panel, on the top menu, click Products and select Cloud Databases.
- Open the Active tab.
- Open the cluster page → Topics tab.
- Click Create Topic.
- Enter a name for the topic.
- Enter the number of partitions. The maximum number of partitions is 4,000. You cannot reduce the number of partitions after creating a topic.
- Click Create.