WEBVTT 00:04.530 --> 00:08.450 Let's not try to simulate the broker a failure and observe where's our consumer? 00:08.470 --> 00:13.920 We'll still be able to receive all messages or not listen authorities to stop this consumer. 00:14.170 --> 00:16.720 And let's start over from beginning. 00:16.990 --> 00:21.790 Let me go up in this command or start consumption from topic month from beginning to. 00:22.760 --> 00:23.630 Based here. 00:26.080 --> 00:31.110 Now, I have received 12 messages in total, and if I stop this consumer, I will see that it's all 00:31.120 --> 00:33.760 processed a total of 12 messages. 00:34.330 --> 00:40.420 Now, let's go back to the step where we have read details about a particular topic month and let's 00:40.420 --> 00:44.110 read them and verify whether Thompson was changed or not. 00:44.290 --> 00:45.340 So let's enter. 00:46.530 --> 00:52.780 And picture is still the same as we have seen here in this output, and now I'm about to bring down 00:52.830 --> 01:00.780 broker with a one noticed that in my case, this broker is leader for partition with a one and partition 01:00.780 --> 01:01.320 with a. 01:02.310 --> 01:04.860 And let's observe what will change after. 01:04.890 --> 01:05.560 I'll do that. 01:05.850 --> 01:08.670 So let me go to broker with this one. 01:08.850 --> 01:11.160 Here was the step broker with a new one. 01:11.400 --> 01:14.090 And let me simply stop it controls see. 01:18.200 --> 01:25.310 OK, slow down for this, Breuker with 81 was completed, and now let's go to the step where we were 01:25.310 --> 01:29.170 before and let's not wait to read the dailies about this topic once again. 01:29.480 --> 01:30.740 So same command. 01:33.090 --> 01:41.850 And now a completely different picture leader for politicians, one and four in my case was re-elected, 01:42.150 --> 01:49.200 and now you see that leader for this party, shall we say the one is broker with they a tool and broker 01:49.210 --> 01:52.260 with a desirable is leader for Proposition four. 01:52.860 --> 01:55.350 And that happened almost immediately after. 01:55.350 --> 02:01.430 I have brought down our broker with one and same picture you should see in your case. 02:02.280 --> 02:09.570 So now you will see only two ideas as leaders for every partition, either zero or two. 02:10.200 --> 02:17.940 Also, you see that here Beecher was also changed in this con with replicas least is the same as before. 02:18.240 --> 02:23.550 So for example, for partition, zero replicas are two, zero and one. 02:23.970 --> 02:30.240 But in-sync replicas, replicas that are currently fully synchronized was shortened. 02:30.480 --> 02:34.040 And now it contains only two ideas of the broad cross. 02:34.560 --> 02:38.850 So Breuker with idea one was disappeared from all of those. 02:38.850 --> 02:45.150 Leeth Let's not try to conceal messages from our Glouster with the same command as we used here in this 02:45.150 --> 02:45.540 step. 02:45.750 --> 02:50.670 So let's clear Tamino and the consumer from beginning. 02:51.030 --> 02:51.630 Antrel. 02:53.420 --> 03:00.170 And I've got completely the same result as before without any warnings, and that means that from the 03:00.170 --> 03:05.060 perspective of this consumer, Gloster is fully healthy and operational. 03:05.240 --> 03:12.010 It doesn't make any difference to this consumer, which Broecker has sent those messages to it completely. 03:12.020 --> 03:13.070 No difference. 03:14.120 --> 03:18.890 OK, this is what we get after Sadoun of one of the brokers. 03:19.340 --> 03:23.350 Our Gloster is still up and running and all participants are healthy. 03:23.930 --> 03:29.900 But what will happen if I bring down one more brolga, for example, a broker with a zero and only one 03:29.900 --> 03:31.130 broker will stay alive. 03:31.640 --> 03:32.780 Let's try that next.