WEBVTT 00:04.510 --> 00:10.690 If cluster of the brokers in your setup is a very, very large and contains hundreds of brokers, of 00:10.690 --> 00:14.530 course it is not safe to have just single people this way. 00:14.530 --> 00:22.210 Usually cluster of a zookeeper is created and usually this Cold and Sambell Zookeeper Ensemble and it 00:22.210 --> 00:27.250 is recommended to have a number of the Severals in Zookeeper and Sambell. 00:27.460 --> 00:28.180 Why is that? 00:28.600 --> 00:33.580 In every zookeeper colostrum you should set up a so-called quorum. 00:33.820 --> 00:39.510 Quorum is the minimum quantity of the cells that should be up and running in order to form operational 00:40.000 --> 00:41.140 or otherwise. 00:41.140 --> 00:47.620 If they are less serious than quorum, Zookeeper Gloster is considered down and all corresponding brokers 00:47.620 --> 00:50.540 that were connected to the disaster will be also down. 00:51.010 --> 00:52.300 Let me give you an example. 00:52.300 --> 00:58.420 In such case, on this diagram, there are three Zwicky processors and we can set up a quorum of two 00:58.420 --> 00:58.990 serros. 00:59.110 --> 01:03.040 And in case when any one of those three saros we will fail. 01:03.430 --> 01:06.310 Zookeeper Gloster will still be up and operational. 01:06.640 --> 01:12.640 But if another three will fail and only one of several will be left, then a zookeeper ensemble will 01:12.640 --> 01:17.490 be considered down and entire Patricof Gloucester will be shut down as well. 01:17.860 --> 01:22.820 And no, let me quickly explain to you why you should have order number of the Sarabeth in the Kuiper 01:22.900 --> 01:28.600 Ensemble and how you could set the quorum, how you should choose number four quorum. 01:29.140 --> 01:36.220 Let's suppose that you have set for service in Zookeeper and Sambal and the quorum is set to two. 01:36.580 --> 01:42.680 And let's suppose that two of those zookeeper are allocated, for example, in USA and two others are 01:42.700 --> 01:43.570 in Europe. 01:43.750 --> 01:46.720 And there is Internet outage between two continents. 01:47.080 --> 01:54.820 And if quorum is set to do to severals in USA, will still think that the zookeeper ensemble is up and 01:54.820 --> 02:01.090 running and operational because quorum is to and there are two operational sarus and the same relates 02:01.090 --> 02:03.390 to two processors in Europe. 02:03.700 --> 02:10.210 They both will think that Zookeeper Closter is up and running and now you'll end up in a situation with 02:10.210 --> 02:17.110 two different Gloucester's to serros in each and every Gloster will Sarovar, Kafka, Brockers, Kafka 02:17.110 --> 02:19.150 producers and Kafka consumers. 02:19.330 --> 02:20.760 And that's really, really bad. 02:20.770 --> 02:25.120 In such case, you will get the discrepancy in messages and you'll get the mess. 02:25.540 --> 02:33.700 That's why it is recommended to set quorum to half of the day of Zwicky balseros plus one. 02:34.180 --> 02:40.990 What I mean, for example, if a Delora nine Sarus in Zookeeper Ensemble, then Quarrell should be set 02:40.990 --> 02:41.620 to five. 02:42.710 --> 02:48.620 If, for example, there are 15 Zonkey, Prospero's than Quarrell should be set to a 15 plus one divided 02:48.620 --> 02:56.300 by two, so a quorum will be equal to eight in such case, even if seven of 15 will fail, quorum will 02:56.300 --> 02:56.770 be reached. 02:56.780 --> 03:01.970 We will have still Azeroth in the Gloucester and Gloucester will be still up and operational. 03:02.520 --> 03:05.660 OK, that's all about Zookeeper Kloster or Ensemble. 03:05.780 --> 03:11.270 And the most important you should keep in mind is the quantity of the severals in Zookeeper Gloster 03:11.300 --> 03:12.230 should be odd. 03:12.240 --> 03:14.840 So one three, five seven and so on. 03:15.350 --> 03:16.140 OK, let's proceed. 03:16.160 --> 03:16.670 And next. 03:16.730 --> 03:18.710 Let me explain you what you should do. 03:18.710 --> 03:24.470 If your company is international and it is spread among different continents and it is really hard to 03:24.470 --> 03:28.340 maintain just Sumell, Kafka, Gloster across all continents. 03:28.670 --> 03:29.660 See you next by.