WEBVTT 00:04.300 --> 00:10.960 In this political section, we will launch multiple brokers and create the cluster of brokers, also, 00:10.970 --> 00:16.370 we will launch in the Gulf cocounsel producer and the Gulf Coast Council Consumer Group. 00:16.760 --> 00:23.980 Also, we will launch multiple calls for consumers in Borrello and Loung, them in specific consumer 00:23.980 --> 00:24.270 group. 00:24.580 --> 00:29.440 And for that, we will use commands that we have used in the first section of this girls. 00:29.680 --> 00:37.570 And in order to simplify and speed our process of launching those commands and avoid the type of those 00:37.570 --> 00:43.180 comments every time in command line, I feel prepared to defile this one. 00:43.180 --> 00:51.520 Basic commands that is located under my GitHub repository, where you may find all comments that you 00:51.520 --> 00:57.990 may use for launching, for example, zookeeper launching a Kafka broker, creating topic and so on. 00:58.210 --> 01:01.900 But first of all, please navigate to my GitHub repository. 01:01.930 --> 01:05.220 So here is this link GitHub that comes Bisto Cheuk. 01:05.260 --> 01:11.270 And the next day comes name of Repository and the name of a repository for discourse is Abajo. 01:11.310 --> 01:12.670 This Kafka discourse. 01:13.120 --> 01:19.680 And you may either clone this repository using these baaden or download this repository. 01:19.990 --> 01:26.900 And here in the root of this repository, you'll find the two files diagrams Dot Jemal and Basic Kafka 01:26.980 --> 01:28.010 commands Dhoti. 01:28.900 --> 01:31.400 Let me show you how to clone this repository. 01:31.570 --> 01:37.720 So just click on this button and the click on this button that will copied this y'all Taculli board 01:38.050 --> 01:45.160 next to open up terminal and decide, for example, to desktop and the next and get clone and paste 01:45.160 --> 01:45.900 copied command. 01:46.210 --> 01:50.170 But please note that you need to install Gaede. 01:50.350 --> 01:56.890 If you don't have a get installed, please install it or you can use another option and simply download 01:56.890 --> 01:57.780 ZIP archive. 01:58.030 --> 01:59.470 I will show you that in a moment. 01:59.470 --> 02:03.130 But for now, let me clone this repository to my local computer. 02:04.200 --> 02:10.520 Cloning and now you should find new folder about you discovered this on your desktop, so let me see 02:10.640 --> 02:13.710 to this folder, CD, Aperture Golf Course. 02:13.890 --> 02:20.780 And if I list files here in this folder, I'll see the same files that are available here in this repository. 02:21.060 --> 02:26.300 And for example, I am able to read this file using Visual Studio Code. 02:26.400 --> 02:34.890 So let me just open this repository and here open this folder open, navigate to desktop and select 02:34.890 --> 02:36.660 this folder open. 02:39.070 --> 02:45.720 And now I am able to read, for example, this file basically commands or digs deep, and in order to 02:45.730 --> 02:51.040 launch Kafka broker, you could simply copy this command and paste it in the terminal. 02:51.220 --> 02:58.000 Also, if you would like to read the topic, simply select this entire section and paste into terminal. 02:58.390 --> 03:06.490 Notice that here, in order to simplify reading of every command, I have added backslash after every 03:06.640 --> 03:12.280 part of command and actually backslash is separate or between different lines of the same command. 03:12.580 --> 03:18.130 For example, you could avoid using backslash by simply deleting it and the next line to this one. 03:18.260 --> 03:24.430 But again, for simplicity and for clarity, I have added backslash us everywhere in all commands. 03:24.760 --> 03:31.300 And this file contains basic commands that we will use throughout the section and that you may use during 03:31.300 --> 03:33.990 your work and further study on a bicycle. 03:34.480 --> 03:40.300 So here you'll see commands of how to launch a zookeeper, how to start a broker and notice that those 03:40.300 --> 03:43.390 commands utilize default configuration files. 03:43.510 --> 03:47.180 Bors for Zookeeper and for Kafka Breuker. 03:47.500 --> 03:50.530 Next, you will find how to create a particular topic. 03:50.580 --> 03:56.260 For example, the big test will be created with replication effect or one and three partitions. 03:56.590 --> 04:01.300 Next day you may read the list of topics using this command afterwards. 04:01.390 --> 04:06.070 If you will not read the details of a specific topic, you could use this command. 04:06.360 --> 04:10.660 Also, if you want to start the console producer, here is command for that. 04:10.780 --> 04:14.830 And here you may start the console consumer using this command. 04:15.250 --> 04:21.630 If you want to read the messages from beginning using a console consumer, you should add the option 04:21.640 --> 04:25.480 this desk from beginning and hearer's entire command for that. 04:26.020 --> 04:32.980 Also here below, you might start console consumer with specific consumer group, for example, in this 04:32.980 --> 04:36.580 case, a user group named THAST Here Below. 04:36.580 --> 04:40.870 With this command, you could list the old consumer groups in a Kafka class. 04:41.350 --> 04:46.420 And if you want to read the details of specific consumer group, you could use this command. 04:46.750 --> 04:51.550 And this basically all commands that we will utilize throughout this section. 04:51.550 --> 04:54.270 And you could simply copy and paste them in the terminal. 04:54.280 --> 04:59.320 For example, you could easily start zookeeper by copying this command going to terminal. 04:59.500 --> 05:05.110 Let's clear it and let me navigate to Kafka folder source code and the code COFCO. 05:05.470 --> 05:11.160 If you don't have installed Kafka, use the Lord to Kafka archive and unzip it into Kafka folder. 05:11.320 --> 05:15.670 So here I have a lot of the old files necessary for a launch of Kafka's services. 05:15.940 --> 05:23.410 And next door I can paste the command this one and enter and this will launch Zookeeper Similarily. 05:23.410 --> 05:25.240 You could use all remaining commands. 05:25.330 --> 05:28.240 OK, let me stop the zookeeper for now, OK? 05:28.450 --> 05:32.380 This is how you're able to clone repository to your local computer. 05:32.380 --> 05:34.420 For that you need to help get installed. 05:34.420 --> 05:35.740 It is option number one. 05:36.130 --> 05:37.060 Second option. 05:37.240 --> 05:43.750 You could simply open this file directly at GitHub like so and copy every command from here. 05:44.020 --> 05:44.950 Like this one. 05:44.950 --> 05:46.120 All like this one. 05:46.120 --> 05:48.070 It is completely acceptable. 05:48.460 --> 05:53.590 Also, you are able to download only specific file from GitHub for data. 05:53.710 --> 05:59.710 Just click here are all on this one and the next door right mouse click and save as. 06:00.460 --> 06:03.010 And now I am able to save this file. 06:03.010 --> 06:04.300 For example, the desktop. 06:04.300 --> 06:05.140 Let me save it. 06:06.090 --> 06:12.300 Phyll was saved and now I'm able to open it, and if I double click on it, it will be opened in my 06:12.300 --> 06:13.530 case using notepad. 06:13.710 --> 06:19.320 And again, I could simply copy every comment from here and based it into terminal. 06:19.650 --> 06:21.280 That's option number two. 06:21.690 --> 06:27.730 Also, you are able to download an entire repository using download button. 06:27.750 --> 06:28.760 Let me do that. 06:28.950 --> 06:33.780 So again, click on Golon or download button and download ZIP. 06:34.260 --> 06:36.850 And in such case, ARCI will be downloaded. 06:36.870 --> 06:40.350 Let me open it up and double click on it. 06:41.290 --> 06:47.470 And the next drag, this folder, for example, again to desktop, and now if I go to desktop, I'll 06:47.470 --> 06:54.040 find this folder that will contain all files that are available here at my GitHub account. 06:54.220 --> 07:01.540 But difference between Golon and the law is that the with option gloom, you are able to fetch any updates 07:01.840 --> 07:03.700 to these files in the future. 07:03.940 --> 07:08.080 With the Lord, you will simply get current versions of all those files. 07:08.320 --> 07:09.970 So choose any option you want. 07:09.970 --> 07:16.870 Eyes copy it commands directly from this file at the dot com or clone or download repository to your 07:16.960 --> 07:17.900 local computer. 07:18.310 --> 07:25.930 Also notice that along with these basic commands, the defile you may find file diagrams dot as Jemal 07:26.110 --> 07:30.160 And let me describe what is included in this file after the small files. 07:30.370 --> 07:31.570 So see you next by.