Skip to main content
Topic management
Last update:

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

  1. In control panel go to Cloud platformDatabases.
  2. Open the cluster page → tab Topics.
  3. Click Create a topic.
  4. Enter the name of the topic.
  5. Enter the number of partitions. The maximum number of partitions is 4,000. You cannot reduce the number of partitions after creating a topic.
  6. Click Create.