Starting with Streaming Data Manager version 1.6.0, you can create Kafka topics from the Streaming Data Manager web interface. To create a new topic, complete the following steps. If you do not want to create the topic from the web interface, you can configure the topic on the web interface, then use the
kubectl or the
kafka-topics.sh command to create the topic with the same configuration.
Open the Streaming Data Manager web interface and select MENU > TOPICS.
Enter a name for the topic. Adjust the Replication factor and Partitions parameters of the topic as needed, then select Next.
CAUTION:Topic replication factor values must be less than or equal to the number of brokers in the Kafka cluster.
Configure the other parameters of the topic as needed for your environment. For a full list of configuration options, see the official Kafka documentation.
If you only need to adjust a few parameters, select ADD CONFIGURATION, then select the parameter you want to modify and adjust its value.
If you want to adjust several parameters, or see the default values of other parameters, select ADVANCED, and modify the parameters as needed.
Review the configuration of the topic, then select Create.
If you do not want to create the topic from the web interface, you can use the
kafka-topics.shcommand to create the topic with the same configuration.
After the new topic is created, it appears in the list of topics on the MENU > TOPICS page.