From the course: Kafka Essentials: Quick Start for Building Effective Data Pipelines by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Learning Kafka topic operations

Learning Kafka topic operations

In this lesson, I want to go over some of the topic operations that we've already done in previous lessons, provide a little bit more information and codify what was actually going on when we perform these operations. So let's begin by going to our 8.3 topic operations directory. And in there we have a notes file, and let's open that up and begin with some examples. Now again, I'm going to be running these on the cluster that we built in lesson seven. These will work as we have done on the Linux Hadoop minimal. However, I'm going to be running these on a live three node, three broker cluster, so we can see in real time how these commands actually work. If you recall, we created Topic Test 2. And we did that with this command here. It's all very straightforward. We use the Create command. We use the Bootstrap server. So that allowed Kafka Topics to communicate to the Kafka server that was running on the local host. And again, this could be another machine in the network. And that port…

Contents