Let's not try to simulate the broker a failure and observe where's our consumer?
We'll still be able to receive all messages or not listen authorities to stop this consumer.
And let's start over from beginning.
Let me go up in this command or start consumption from topic month from beginning to.
Based here.
Now, I have received 12 messages in total, and if I stop this consumer, I will see that it's all
processed a total of 12 messages.
Now, let's go back to the step where we have read details about a particular topic month and let's
read them and verify whether Thompson was changed or not.
So let's enter.
And picture is still the same as we have seen here in this output, and now I'm about to bring down
broker with a one noticed that in my case, this broker is leader for partition with a one and partition
with a.
And let's observe what will change after.
I'll do that.
So let me go to broker with this one.
Here was the step broker with a new one.
And let me simply stop it controls see.
OK, slow down for this, Breuker with 81 was completed, and now let's go to the step where we were
before and let's not wait to read the dailies about this topic once again.
So same command.
And now a completely different picture leader for politicians, one and four in my case was re-elected,
and now you see that leader for this party, shall we say the one is broker with they a tool and broker
with a desirable is leader for Proposition four.
And that happened almost immediately after.
I have brought down our broker with one and same picture you should see in your case.
So now you will see only two ideas as leaders for every partition, either zero or two.
Also, you see that here Beecher was also changed in this con with replicas least is the same as before.
So for example, for partition, zero replicas are two, zero and one.
But in-sync replicas, replicas that are currently fully synchronized was shortened.
And now it contains only two ideas of the broad cross.
So Breuker with idea one was disappeared from all of those.
Leeth Let's not try to conceal messages from our Glouster with the same command as we used here in this
step.
So let's clear Tamino and the consumer from beginning.
Antrel.
And I've got completely the same result as before without any warnings, and that means that from the
perspective of this consumer, Gloster is fully healthy and operational.
It doesn't make any difference to this consumer, which Broecker has sent those messages to it completely.
No difference.
OK, this is what we get after Sadoun of one of the brokers.
Our Gloster is still up and running and all participants are healthy.
But what will happen if I bring down one more brolga, for example, a broker with a zero and only one
broker will stay alive.
Let's try that next.