Topic management
Topic management
Kafka's distributed system uses a topic and partition model to organize data.
A topic is the principle of grouping a thread of posts into categories. A topic can be handled independently of each other by multiple 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.
At topic creation you can define the number of partitions in a topic. After creating a cluster, you can only increase the number of topics.
Create a topic
- В control panels go to Cloud platform → Databases.
- Open the cluster page → tab Topics.
- Click Create a topic.
- Enter the name of 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.