From the course: Apache Kafka Essential Training: Getting Started
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Topics management - Kafka Tutorial
From the course: Apache Kafka Essential Training: Getting Started
Topics management
- [Instructor] The kafka-topics.sh Shell script can also be used to modify and delete topics. Running just the kafka-topics.sh Shell script shows all the parameters that are available to be modified. Things like partition count can only be increased, and that needs to be planned ahead. To demonstrate, we will use this Shell script to delete the kafka.learnings.alert topic. We again need to provide the bootstrap server parameter and the topic name. The delete command takes care of deletion. Let's run the command now. The command returned successfully without errors. Running the list command after this command will show that this topic has been deleted. In the next video, we will explore some internals of Kafka.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.