No, we are good to go, and now we are ready to greet our Kafka Gloster once again and afterwards greet
the topic with replication factor three.
Let's go to our file with commands and let's first as usually spin up our goalkeeper.
So we started here in this step.
Afterwards, let's open up a new tab.
They call this line where we will start to broker broker with a zero.
Let's say he took off scaffolder and placed command here.
Open up, copy this line again, city to COFCO.
Ways to command it is broken with one.
And lost the broker with Eddie to Sydney, took Tarkowski again based command here.
And now all three US should be up and running, let's verify that.
So here we decided to what started here.
You see, Thukral was the one that was started and the here was a desirable started.
Wonderful.
Let's quickly verify state of all brockers state of the Glassboro by using this command.
So let me quote it from here.
Go to golf game based command.
And now I see that all three girls are present in our class.
Wonderful.
No, we are good to go.
And now let's agree to a new topic with replication of three recommended.
When I have explained your replication factors, I have told you that even in production environments,
it is not suggested that to go beyond the replication factor, three, four, three is completely enough
even for production.
Why is that?
Because I have told you that, for example, in this case, when there are five partitions for a particular
topic and replication, Fatah will be three, then in fact, on all brokers in total will be 15 partitions.
So for each of those partitions will be two additional replicas.
And that means that instead of partitions, we will get 15 partitions.
If there is, for example, five here as a replication factor, then in total we will get twenty five
partitions.
So hugely increased a lot.
That's why I don't go beyond the number three here.
Three is completely enough and let's all think we wanted to partitions for this example.
And let's make it for example, seven.
And the topic for this example will be not girls, let's make it month like Sol and let me replace all
occurences of cars here in this files with month.
Replace all, and we are good to go.
Notice that this file is also included in GitHub repository in correspondant example, for example,
those commands you may find here in current example in this file, basic commands.
So let's proceed and let's create the topic this one gold month.
Let me copy this.
Come and go here.
Clear terminal notice that the zookeeper and three servers are up and running.
So I'm able now to create the new topic.
Based command and control.
Topic was created and you have seen that we are doing some jobs, and if I go, for example, to this
broker with a one, you might observe that it has done really, really a lot of different tasks related
to creation of the new topic month, because we have set up a partitions quantity two seven and replication
factor three and totally in our cluster.
Twenty one participants were created, went to one is equal to seven, multiplied by three replication
factor.
And that means that on every brolga, at least seven partitions should be created.
And here you see different logs related to this brought us, for example, here you see that on this
program, partition month zero was created.
Also, you may see that there are logs related to Rs or partitions like month desk three.
Same relates to remaining brokers here on this broker.
I see even some arrows related to creation of replicas, but let's hope that everything will work perfectly
OK before moving on.
And Delonge and producer and the consumer, let's quickly Explorer logs folder and see which partitions
were created on different brokers.
And let's do this after the small box.
So see you next.
Buy by.