Create a Kafka Topic

The Kafka Topic Creation screen allows users to create a new Kafka topic within a specified Kafka cluster. Below are the detailed steps and descriptions of the parameters users need to configure.

Prerequisite: A Kafka cluster must already be deployed and it must be in an Available state. Ensure that your Apache Kafka cluster is up and running and accessible from the Event Streams for Apache Kafka Clusters Overview window.

  1. Log in to the DCD with your username and password.

  2. Go to Menu > Analytics > Event Streams for Apache Kafka.

  1. From the list of clusters, select the Kafka cluster where you want to create the new topic.

  1. Click the Topics tab.

  1. Click the Create topic button to open the topic creation dialog.

  1. In the Create Topic dialog, configure your topic by providing the following values:

  • Name: Enter the name of the new Kafka topic.

  • Replication Factor: Specify the replication factor, which determines the number of copies of the data that will be maintained.

  • Number of Partitions: Define the number of partitions for the topic. Partitions determine how the data is distributed across the brokers.

  • Retention Time (ms): Set the retention time in milliseconds. This determines how long messages are retained in the topic. If set to -1, no time limit is applied.

  • Retention Segment Size (B): Specify the retention segment size in bytes. This is the size at which log segments are rolled over.

Note: The value must be greater than or equal to 14 bytes.

  1. Click Create to finalize the topic creation process.

Result: The Kafka cluster is successfully created.

Last updated