WEBVTT 00:04.420 --> 00:09.720 For now, all of you should have Kafka installed in your computer and all, but you need to do is first 00:09.730 --> 00:16.580 install Java and the second download archive and unzip it for Windows users. 00:16.600 --> 00:22.520 I highly recommend that the two don't install Kafka on Windows and the use, for example, the little 00:22.540 --> 00:29.110 machine on Windows that runs answerable to or create remote virtual private server and install a golf 00:29.110 --> 00:29.640 cart down. 00:30.070 --> 00:34.240 From this point on, I'll use all commands for Unix like systems. 00:34.480 --> 00:40.060 Basically, Mac OS is also Unix like system and commands here doesn't differ from commands that you 00:40.060 --> 00:44.620 should enter on, for example, or Windows system or game in this video. 00:44.830 --> 00:51.730 Let's finally start up Kafka, Sarah, and you know that the Kafka installation is basically a set of 00:51.730 --> 00:54.140 executable scripts located in Benfold. 00:54.160 --> 00:57.340 So let's decided to Kafka falderal. 00:57.520 --> 01:04.570 It is located in a root of the user directory and let's list files in the folder. 01:04.720 --> 01:10.660 And you'll basically see here a bunch of those executable files with extension Định. 01:10.960 --> 01:15.350 You could start Cafcass server by running script Kafka themselves. 01:15.520 --> 01:23.980 This start as H descript also requires configuration file and there was default configuration file located 01:23.980 --> 01:25.110 in config folder. 01:25.420 --> 01:27.480 Let's list files in config folder. 01:27.700 --> 01:29.800 And here was this file. 01:29.800 --> 01:31.750 Basically a server, the properties. 01:32.170 --> 01:35.590 OK, let's not try to start Kafka, Sara. 01:35.710 --> 01:37.810 That is basically called Kafka Brolga. 01:38.020 --> 01:45.820 And on every single computer you are able to run several Kafka broadcasts and we will try that later 01:45.820 --> 01:46.460 on in the course. 01:46.690 --> 01:50.130 For now, let's try to start just single Kafka Broca. 01:50.500 --> 01:57.040 OK, let's create time now and here live by following, we need to type path to executable file again 01:57.190 --> 01:58.300 located in Benfold. 01:58.750 --> 02:08.260 Done come and here will be Kafka that Sara Dash start S.H. And after this path to executable script 02:08.350 --> 02:13.930 we need to specify file name of the configuration file that will be used for this Sara. 02:14.230 --> 02:19.990 And in Unix like systems, all arguments for scripts unspecified simply after space. 02:20.170 --> 02:24.820 So let's add space here and the next type of path to configuration file. 02:25.150 --> 02:30.490 It is located in config folder and the name of the file is Sara Dot Properties. 02:30.880 --> 02:36.790 Basically I could you step out a complete file name like Sole and now let's press enter in order to 02:36.790 --> 02:37.180 start. 02:37.180 --> 02:38.020 Cafcass Sara. 02:39.290 --> 02:45.740 We see here a bunch of messages and finally we see in four messages in four shutting down in four shut 02:45.740 --> 02:51.280 down completed and that means that the start of the server was unsuccessful. 02:51.680 --> 02:54.050 But let's try to find a reason for that. 02:54.410 --> 02:57.800 Let me scroll to the very beginning of this output. 02:59.640 --> 03:06.120 Here it is, and you'll see that after this comment that we have entered, Kafka tries to connect to 03:06.120 --> 03:13.920 Zookeeper and here you see this message connecting to Zookeeper on localhost column two one eight one. 03:14.550 --> 03:23.100 And if I scroll down to the end of this, I'll put and find messages like this timed out, waiting for 03:23.100 --> 03:25.710 connection while in state collecting. 03:26.250 --> 03:34.110 It means that Kafka Sarah tries to connect to Zookeeper that should be running on localhost at Port 03:34.110 --> 03:35.510 two one eight one. 03:36.000 --> 03:40.610 And finally, this connection was timed out because we have not yet started the zookeeper. 03:41.130 --> 03:47.190 And here we came to the conclusion that the calf Cancellara is not able to start without connection 03:47.190 --> 03:48.300 to zookeeper. 03:48.360 --> 03:55.860 So zookeeper is mandatory part of Kafka ecosystem and without doorkeeper, no brokers could be running. 03:56.340 --> 03:56.790 OK. 03:57.030 --> 04:01.960 To summarize, we have just tried to start Kafka, Sarah, and this attempt failed. 04:02.280 --> 04:09.150 And next, let's try to start a zookeeper and afterwards try to start a server once again in the next 04:09.150 --> 04:09.930 lecture by.