WEBVTT 00:04.460 --> 00:11.900 When you install Kafka on any computer, it comes basically as a set of the files and those files are 00:11.900 --> 00:17.240 mostly executable scripts with extension age or backup scripts for Windows. 00:17.420 --> 00:22.460 Also, there are default configuration files for Zookeeper and Broadcom. 00:22.670 --> 00:29.450 And here on this diagram, you see the fold boards that I used and those configuration files. 00:29.570 --> 00:36.080 So if you start a zookeeper, it will use the Portal two one eight one and the Kafka broker or server 00:36.080 --> 00:38.740 will use the portal 1992. 00:39.170 --> 00:40.820 And here is important. 00:40.820 --> 00:47.720 Notice if you're going to launch multiple, for example, zookeepers on a same computer, you need to 00:47.720 --> 00:54.470 use different portals because every single port can be occupied only by single brought us on a single 00:54.470 --> 00:55.080 computer. 00:55.250 --> 01:01.040 And that's why if you want to run, for example, three zookeeper serros on a same computer, you need 01:01.040 --> 01:07.190 to adjust configuration files and create the separate configuration files for every Ozaukee, for instance, 01:07.370 --> 01:08.600 with different portals. 01:08.600 --> 01:13.370 And it is also a good idea to create separate log folders for every instance. 01:13.400 --> 01:19.370 For example, you could use both Dewani one for Zookeeper two one eight two for a second one and the 01:19.370 --> 01:21.380 two one eight three four third one. 01:21.650 --> 01:23.660 Same relates to Kafka brockers. 01:23.840 --> 01:30.160 It is possible to run multiple brokers' on a same computer and also you need to create a separate configuration 01:30.160 --> 01:37.130 of files for every instance of brokers and you need to adjust at least the pause and make them, for 01:37.130 --> 01:40.730 example, 1992, 1993, 1994 and so on. 01:40.910 --> 01:46.370 Depending on the quantity of the brokers, you are going to run on your computer and also you should 01:46.370 --> 01:51.050 adjust the folders where each broker will store massages or looks. 01:51.320 --> 01:57.740 If you are going to run, for example, zookeeper instances on different physical or total severals, 01:58.040 --> 02:00.200 then there is no need to adjust both. 02:00.200 --> 02:05.060 And you are able to run all of them on the same boat, but on different computers. 02:05.270 --> 02:07.400 Same relates to Kafka brockers. 02:07.550 --> 02:14.690 You could use the default port 1992 on all computers or if you wish, you could adjust it to any custom 02:14.700 --> 02:15.380 port you want. 02:15.560 --> 02:19.550 And one more important notice regarding the Lounge of Kafka broadcast. 02:19.970 --> 02:25.940 If you create a glass door with different brokers and those brokers are located on different computers, 02:26.060 --> 02:33.500 even in different data centers, and those brokers need to communicate via public IP addresses or domain 02:33.500 --> 02:41.090 names, you need to adjust to advertise the names in configuration of files of each broker because advertize 02:41.090 --> 02:48.800 name is that hostname plus board that are communicated by Kafka broker to Zookeeper and one producer 02:48.800 --> 02:50.030 or consumer will connect. 02:50.030 --> 02:57.620 Duke of Gloucester Zookeeper will supply these hostname bloodsport that they received from Kafka, Broadcom 02:57.660 --> 03:04.190 and for example, if Kafka broker sent to advertise the hostname localhost and the nineteen ninety two 03:04.370 --> 03:10.820 of course producer that is located somewhere in other places in the world will be able to connect to 03:10.820 --> 03:16.040 Sergia Breuker because localhost is local address of computer itself. 03:16.340 --> 03:18.710 That's why please be careful and adjust. 03:18.830 --> 03:23.350 Advertise the name and potter on every broker if you are going to make them public. 03:23.750 --> 03:30.280 OK, that's all what I wanted to talk about in this lecture and just make a note of those polls that 03:30.290 --> 03:33.850 are used by default by a zookeeper and the calf brolga. 03:34.070 --> 03:40.100 Also, please note that I don't want to dive deeper into installation and Delonge of Zookeeper and Kafka 03:40.100 --> 03:43.480 brolga because all of that Weyco performed in a previous section. 03:43.760 --> 03:44.480 Now let's move on. 03:44.480 --> 03:47.270 And next, let's talk about TotEx. 03:47.480 --> 03:48.290 So see you next. 03:48.290 --> 03:48.740 Bye bye.