Create a Topic in the Kafka Server

The instruction in this section is an example for reference on how to create Topics in the Kafka Server.

To create a Topic in the Kafka Server, follow these steps:
  1. Open the kafka-topics.sh file in the $FIC_HOME/ficdb/bin directory
  2. b. Execute the kafka-topics.sh file in the format shown in the following:

    ./kafka-topics.sh --create --zookeeper <host of zookeeper:<port in zookeeper.properties> --replication-factor 1 --partitions <more than given while creating topic in PMF> --topic <topic_name>

    For example:

    ./kafka-topics.sh --create --zookeeper 192.0.2.1:7780 --replication-factor 1 --partitions 4 --topic ECM_TF_SWIFT