WEBVTT 00:04.320 --> 00:10.200 Now we have a Kafka and Kafka zookeeper up and running, and here they are running, in my case, in 00:10.200 --> 00:14.110 those two windows here as doorkeeper and Hirose, Kafka, etcetera. 00:14.490 --> 00:20.600 And while we are doing basically nothing, you'll see some logs here in Cafcass Central Window, like 00:20.630 --> 00:24.060 removed a zero expired offsets in zero milliseconds. 00:24.360 --> 00:31.050 And that means that basically in background, Kafka server is performing some background jobs came in 00:31.050 --> 00:31.570 this location. 00:31.590 --> 00:38.250 Let's examine the contents of the log directory that was created by Kafka Celebra and noticed that here 00:38.250 --> 00:44.670 we have seen this lockmaster, this one log directory piece, Kafka logs not found creating it. 00:45.090 --> 00:47.980 And let's now observe contents of this folder. 00:48.270 --> 00:50.790 Let's open up new terminal window. 00:51.630 --> 01:00.330 And I'll drag it to new window like so let me make it full screen and let Sydney today beam Kafka. 01:00.630 --> 01:04.440 This looks like Seoul and the Hills least files. 01:04.740 --> 01:10.740 And now in this folder, you'll see that Kafka has created automatically several files related to processing 01:10.740 --> 01:11.930 of Kafka messages. 01:12.240 --> 01:17.100 But for now recommended, there are still no messages at all because we have not yet agreed that any 01:17.100 --> 01:20.420 Topix and the handler sent any messages took off Casanovva. 01:20.880 --> 01:26.580 Now there are some files like Matalote Properties or Clean Offset Check Point, and we can quickly observe 01:26.580 --> 01:33.120 contents of matador's properties file and you'll see how such contents broker idee zero zero zero and 01:33.120 --> 01:34.820 Closter ID this one. 01:35.130 --> 01:37.660 Also, let's quickly have a look at the contents of this file. 01:37.680 --> 01:42.850 For example, got clean out of said the checkpoint and now it is empty basically. 01:43.110 --> 01:48.770 Let's quickly have a look at the log, the start of said checkpoint and it is empty as well. 01:48.900 --> 01:50.720 And the reason for that is again simple. 01:50.730 --> 01:56.730 We cannot yet send any messages to Cafcass, but those log files were created here in advance. 01:57.000 --> 02:02.320 OK, let's clear terminal here and let's quickly go to Zookeeper Logs directory. 02:02.550 --> 02:04.980 Let's see one level up like soul. 02:05.160 --> 02:10.220 And here, let's side to zookeeper and list files here again. 02:10.260 --> 02:16.620 There is still one folder over on this to let's do this folder and the list file is here. 02:16.620 --> 02:22.740 And now you'll see here in your file that has appeared after successful connectional from Kafka, Sara 02:22.740 --> 02:23.660 to Zookeeper. 02:23.880 --> 02:25.860 This one, let's try to read it. 02:26.040 --> 02:27.690 Got log dot one. 02:28.260 --> 02:31.230 And here you'll basically see partially unreadable text. 02:31.530 --> 02:35.910 But we are able to distinguish this part and this part. 02:36.270 --> 02:41.820 And those parts are basically information about the thralls broker that has successfully connected to 02:41.820 --> 02:50.700 this zookeeper and that our froster Casanova is running at this port at localhost and the inside is 02:50.700 --> 02:51.330 zero. 02:51.810 --> 02:59.100 But you may ask me where basically this board comes from and how Kafka, Sara, has decided on which 02:59.100 --> 03:00.400 boat it should be run. 03:00.780 --> 03:01.940 Let me show you that quickly. 03:02.160 --> 03:04.810 You can close this window because we don't need it anymore. 03:05.130 --> 03:08.460 Let's close it and go back to Visual Studio Code. 03:08.640 --> 03:15.450 And here, open up the properties file rajib that it is located in config folder. 03:15.450 --> 03:16.730 And here was this file. 03:16.980 --> 03:21.150 This file is default configuration file for Kafka, Sara Kafka, Brolga. 03:21.450 --> 03:25.410 And let's scroll up and again, I will show you this line. 03:25.590 --> 03:27.070 Broecker ID is zero. 03:27.120 --> 03:30.120 It is default idea of Kafka, Brolga and below. 03:30.120 --> 03:35.160 Here you'll find this comment outline Weisbord 1992. 03:35.550 --> 03:40.320 And that means that the default board for Cafcass server is nineteen ninety two. 03:40.620 --> 03:46.200 But if you want to change it, you can uncommon this line and change Dysport for example to nineteen 03:46.200 --> 03:52.500 ninety three and we will do that later on in the course when we will try to start several Kafka brokers 03:52.740 --> 03:54.120 on a same computer. 03:54.390 --> 04:00.480 For now, let's go back to common, that old outline like so and for now you know that default board 04:00.480 --> 04:06.000 for Kafka Celera is 1992 and the default broker ID is zero. 04:06.270 --> 04:14.160 Also there was default lock path DMP Kafka logs where Kafka will store messages and files related to 04:14.160 --> 04:15.630 processing of the messages. 04:15.990 --> 04:22.680 OK, that's all for this short overview of logs folder and the current picture of our setup. 04:22.830 --> 04:27.420 And now we are all set and we could start sending messages to Kafka Selvam. 04:27.720 --> 04:34.650 But in order to send a message to Kafka Cerebrum, it should be sent to specific topic and we can create 04:34.650 --> 04:35.790 multiple topics. 04:36.090 --> 04:40.820 And that's what let's create our very first topic in discourse in the next lecture. 04:41.220 --> 04:42.060 See you in a bit. 04:42.090 --> 04:42.560 Bye bye.