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.

Configuring partitions

Configuring partitions

In this lesson, we're going to continue from Lesson 7.3, where we created a three-broker or three-node Kafka cluster. We're going to continue these operations on the cluster, and this lesson is also included with the Lesson 7.3 instructions that we went through on the cluster previously. We're currently in 7.4, configuring partitions, and let's open up the notes file and see what we got going on here. Okay, so the first thing we're going to do is we need to create a topic, like we've done previously with everything in our cases of using Kafka. In this case, however, we're gonna add a few more things. We're going to add a replication factor of two, And we're going to add partitions, and we'll call this test-2. So let's just run this in a working window. And I have 1, 2, 3, 4 windows open on the cluster, as always with Kafka. Having extra windows open is always handy. So we're going to run this example here, create test-2. and it tells us that it worked. And the next thing we'd like to…

Contents