Creating, describing, altering & deleting kafka topic and listing all kafka topic

Kafka Topic Operations

Go to the Kafka bin folder before running any of the command
$ cd ~/kafka_2.11-1.1.0/bin

➠ Creating Kafka Topic
➠ Describing Kafka Topic
➠ All Topics: List down all the topics available in the kafka cluster.
./ --list --zookeeper localhost:2181  


➠ Altering Kafka Topic: Change the current defined parameters/configuration for the topic.
➠ Deleting Kafka Topic: Dropping existing kafka topic from the Kafka server.
$ ./ --delete --zookeeper localhost:2181  --topic  kafka_test_topic

Topic kafka_test_topic is marked for deletion.
Note: This will have no impact if delete.topic.enable is not set to true.