From the course: Apache Kafka Essential Training: Getting Started (2021)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Exploring topics
From the course: Apache Kafka Essential Training: Getting Started (2021)
Exploring topics
- [Instructor] In this video, let's list and explore the topics that we have already created. How do we get a list of topics in a Kafka cluster? We used the list action. This is similar to the create action. We will provide the zookeeper location as the parameter and use the list command. If we need further details around topics, we can use the describe command. Let's run these commands and see the results. Here is the list command. It only lists the topics that got created in the system. Do note that you will also get to see additional internal Kafka topics that start with an underscore. Let's execute the describe command now. Here, we get to see a lot more details about each topic. Specifically, it provides a partition count and the replication factor. For each partition in the topic, it also shows the partition ID, which in this case is zero. Partitions are usually numbered zero to N. It then shows the broker ID for the…
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.