We have just brought down one of the girls in our class and we have seen that the consumer is able to
consume all messages same as before.
And that's thanks to replication that was configured on a topic level basics.
And now this consumer even does not tell us that one of the broken glass is down.
It was successfully able to consume all messages.
If I wish to produce TAP, I will not see any warnings here as well.
So producer is still up and running.
Now let's try to bring down additional brolga broker with a zero.
So now I have Breuker zero here, Broecker one here it is down now.
And the broker is Editta here and the BlueSky.
But this consumer still Iranian kiya in the step.
And let's bring down Breuker with 80 zero.
So go here and control.
See.
Shutdown of the broker with zero was completed and noticed that there were some actions happening here
in a consumer step, and if I switch here, you'll see here warning's connection to not zero, couldn't
be established, broker may not be available.
And I see the same messages here.
And that means that this consumer has detected a change in a Kafka Gloster.
And now it knows that the broker with a zero is down, but it still is up and running and is able to
consume additional messages less quickly.
Actually produce one more message here.
And let's again type here May.
Go here to consumer and yes, mate was a received here, same as before.
So consumer is still wrong.
Let's now go to the step where we have red details about topic month and let's execute same command.
And no, after broadcast with Idiz zero and one are down, we see that broker with Editta is now leader
for all partitions, and that's fully correct.
There are no other brokers available in the Gaza.
That's why this single broker was selected as leader for all partitions.
And now here in this column, In-Sync Replicas, we see that the broker decided to use the in-sync for
every partition.
All of the brokers are unavailable and therefore unsynchronized, wonderful.
This whole picture was changed after we had brought down broker with a zero and only one broker stayed
alive.
Let's not try to stop this consumerism and let's start over again and verify whether we will receive
old messages or not.
So let's stop it.
Clear terminal and wrote on it again from beginning.
And I have got the same list of messages as before and in total here, I should see 13 messages and
yes is correct.
But also along with the messages, I see some warnings.
Breuker may not be available.
And I see those messages for broadcast with night 92.
It's all or zero and nineteen ninety three is our broker with one.
And I see several such warnings.
But again, my idea here is that we are still able to read messages from our coffeecake last year,
even if single broker stays alive.
Great.
Now let's try to bring back a Bors brokers and verify whether a picture will be back to normal or not.
So let's do that next.
Bye bye.