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 sections in a topic. After creating a cluster, you can only increase the number of topics.
Create a topic
- В control panels from the top menu, press Products and select Cloud databases.
- Open the tab Active.
- Open the cluster page → tab Topics.
- Click Create a 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.