Skip to main content
Topic management
Last update:

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

  1. In the Control panel, on the top menu, click Products and select Cloud Databases.
  2. Open the Active tab.
  3. Open the cluster page → Topics tab.
  4. Click Create Topic.
  5. Enter a name for the topic.
  6. Enter the number of partitions. The maximum number of partitions is 4,000. You cannot reduce the number of partitions after creating a topic.
  7. Click Create.