WEBVTT 00:04.430 --> 00:11.150 Now you understand why a Kafka is called a distributor system because you are able to create a cluster 00:11.150 --> 00:17.900 of brokers with multiple brokers, but if there are multiple brokers inside of the cluster, it becomes 00:18.230 --> 00:24.430 unclear how they maintain state of entire cluster and how they communicate between each other. 00:24.830 --> 00:27.260 And that's where the zookeeper comes in. 00:27.740 --> 00:33.440 Zookeeper was also developed by Abhijeet is called basically Apache's or Jibaro, and it is used not 00:33.440 --> 00:36.290 just in conjunction with a Kafka. 00:36.530 --> 00:41.400 It is also used with Apache Hadoop, for example, or Apache Solar and Apache. 00:41.420 --> 00:46.420 Kafka broker will not even start without active connection to Zookeeper. 00:46.610 --> 00:53.990 That's why Zookeeper is a mandatory part of a pasture ecosystem and main responsibilities of zookeeper 00:53.990 --> 00:57.530 in case when it is used with a bicycle are forming. 00:57.890 --> 01:00.860 First of all, it maintains a list of active brockers. 01:00.950 --> 01:07.910 It means that at any moment of time it knows which brokers are active and Dilli and which Helfeld also 01:07.910 --> 01:09.900 zookeeper ALLEX controller. 01:09.980 --> 01:12.170 We will talk about what is control a bit later. 01:12.350 --> 01:18.630 But Controller is elected among brokers in a cluster and there was just a single controller in every 01:19.160 --> 01:19.800 cluster. 01:20.390 --> 01:24.590 Also, Zookeeper manages configuration of the topics and partitions. 01:25.310 --> 01:31.370 It means that when you create any topic in a Kafka colostrum, it is created basically at a zookeeper. 01:31.490 --> 01:35.930 And Zookeeper distributes this configuration to all brokers in the class. 01:36.800 --> 01:42.550 That's the way the zookeeper is needed and that's what it does in a Kafka ecosystem. 01:42.800 --> 01:49.370 But now you may ask my question, but what if this single zookeeper Ostrer, fails how brokers, producers 01:49.370 --> 01:52.180 and consumers will continue their operations? 01:52.700 --> 01:58.130 You are able to create a cluster of zookeepers and let me talk about it in the next lecture by.