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 grouping a thread of posts into categories. A topic can be handled independently by multiple producers and consumers who have been granted access to it.

Sections

Each top can have multiple partitions, which are physical storage units. Partitions are used for parallel data processing and system scaling. Each post is written to a specific section of the topic. All posts within the same section retain their order.

When create-topic you can define the number of sections in the topic. Once the cluster is created, you can only increase the number of tops.

Create a topic

  1. In Control Panel, go to Cloud PlatformDatabases.
  2. Open the cluster page → Topics tab.
  3. Click Create Topic.
  4. Enter a name for the topic.
  5. Enter the number of sections. The maximum number of sections is 4,000. You can't reduce the number of partitions once you create a topic.
  6. Press Create.