WEBVTT 00:04.320 --> 00:09.720 Now, in the clean up after installation, let's start with this example where we will run multiple 00:09.720 --> 00:17.210 Rollergirls on the same computer and first step is to create several celebra configuration files, one 00:17.220 --> 00:23.280 per brolga, and that there was default configuration of file located in config folder. 00:23.310 --> 00:25.680 And its name is several of the properties. 00:26.070 --> 00:27.170 And we will do the following. 00:27.480 --> 00:34.590 We will make three different copies of this file and adjust settings, namely adjust the port and adjust 00:34.590 --> 00:41.490 log directory for every breuker and every broker inside of the cluster must have unique Broecker, Edem 00:41.730 --> 00:42.690 and for convenience. 00:42.690 --> 00:46.110 Let's do all of that in our editor in Visual Studio Code. 00:46.470 --> 00:48.720 Let me just open up user folder. 00:48.750 --> 00:53.970 Open doored like Soul and the Hill left Draga folder into the code. 00:57.140 --> 00:59.720 And now I have Olkowski files right here. 01:00.050 --> 01:04.460 We need the config folder and the we need namely Sarovar Properties. 01:04.460 --> 01:05.450 File this one. 01:05.780 --> 01:07.310 Let's make three copies of this. 01:07.660 --> 01:09.200 The properties file right. 01:09.200 --> 01:16.310 Mouse click and select Gaudium and next right mouse click on the name of config folder and click paste. 01:17.000 --> 01:19.730 And now I see one more file server. 01:20.060 --> 01:25.130 Copy the properties and let's rename it to Sara Zero The Properties. 01:25.250 --> 01:29.090 If you want to rename a file here in your Skold, you simply press enter. 01:29.270 --> 01:32.960 Sole name of this file will be several Zerelda properties. 01:33.480 --> 01:36.530 Let's make one more copy of some of the properties file. 01:36.740 --> 01:38.390 Same action right mouse. 01:38.390 --> 01:42.740 Click here on a name of the folder and paste and let's paste the one more. 01:43.650 --> 01:51.510 Like so and now I see two additional copies of several properties file, let's rename this one to Sara, 01:51.720 --> 01:57.690 one of the properties like Soul, and let's finally rename this one to Sara. 01:58.200 --> 02:04.170 To the properties like this note is that there was no space between the server and no. 02:04.320 --> 02:06.910 So now we have three in your files. 02:06.960 --> 02:07.590 This one. 02:07.590 --> 02:08.790 This one and this one. 02:09.000 --> 02:13.580 And those files will be used for launching of separate brokers' on a same computer. 02:13.950 --> 02:15.620 Here will be Breuker zero. 02:15.810 --> 02:19.460 Next will be Breuker one and finally will be Breuker two. 02:19.890 --> 02:22.160 So let's have a look at Sara Zero. 02:22.230 --> 02:23.820 The properties file this one. 02:23.820 --> 02:26.700 Let's click on it and delete Mihai temporarily. 02:26.710 --> 02:32.610 This left pane and scroll down SOL thralls configuration that we need to adjust is here. 02:32.910 --> 02:41.400 It is Breuker ID and if you want to create Gloster Oracles, you must ensure that every brolga has its 02:41.400 --> 02:42.960 own unique ID. 02:43.530 --> 02:49.500 Notice that the will keep these configuration file for brockers zero unchanged. 02:49.800 --> 02:53.830 It will be the same as if we were running just a single breuker. 02:54.000 --> 02:56.750 So let's leave Broecker ID zero here. 02:57.180 --> 03:00.030 Next, let's have a look at this line. 03:00.180 --> 03:07.920 Listner equals sign plaintext colon's less less Lesco in 1992 and actually by default, Broecker will 03:07.920 --> 03:10.290 be running at both 1992. 03:10.290 --> 03:11.580 And you already know that. 03:11.850 --> 03:15.210 And that's the line that we will need to adjust for next Rollergirls. 03:15.300 --> 03:18.750 But for this one, let's leave it unchanged and it will use default. 03:18.750 --> 03:20.380 Bought nineteen ninety two. 03:20.790 --> 03:26.400 OK, let's go down and let's find the last configuration parameter that we will need to adjust for the 03:26.400 --> 03:27.600 rest of brockers. 03:27.810 --> 03:32.760 But basically to be consistent delyth adjust to this parameter for these Breuker as well. 03:32.790 --> 03:36.480 And let's rename the second Kadisha Logs folder to Kafka. 03:36.480 --> 03:42.840 This looks best zero folder and this folder will be used for storage of messages for our very first 03:42.840 --> 03:45.860 Broecker in the Gloster Breuker with ID zero. 03:46.200 --> 03:52.920 OK, so let's save this file and now let's move to Sara one Wanda Properties file here in this file 03:52.920 --> 04:00.960 with Adjust Broecker ID to one like Soul next delyth uncommented this line if you want uncommented line 04:00.960 --> 04:07.110 in the is called simply broski combination of command and forward slash like sole and the list I just 04:07.110 --> 04:09.030 bought to nineteen ninety three. 04:09.600 --> 04:15.750 Next let's scroll down and defined log directory and lets or name this one to Kafka. 04:15.750 --> 04:22.530 This logs this one and here you'll see that this number matches the ID of this brolga. 04:22.530 --> 04:23.310 So this one. 04:23.610 --> 04:30.080 Let's save this file Camonte else and let's finally adjust last one for our last Breuker in the Gloster. 04:30.330 --> 04:37.210 So if ID will be a tool like Soul next, let's again uncommon this line command for was less and the 04:37.230 --> 04:40.710 less I just Dysport to nineteen ninety four again. 04:40.860 --> 04:45.930 Every port must be unique across all brokers' that you want to run on a same computer. 04:46.230 --> 04:53.910 And finally let's modify lock directory and the let's rename it to calcaneus logs Desh to Let's save 04:53.910 --> 04:54.630 the file end. 04:54.630 --> 05:00.480 Now we are all set and we are now able to start three different brokers on the same computer again. 05:00.480 --> 05:06.870 What we have done is just simply copied several properties default configuration file and created three 05:06.870 --> 05:07.770 different copies. 05:07.770 --> 05:14.010 Several the properties are one properties and Salamah to the properties and we have ensured that every 05:14.010 --> 05:20.970 broker has unique Edem unique port it will run on and the unique folder for logs. 05:21.540 --> 05:28.680 This all OK now we are ready to go one and the next list start three different brokers using those three 05:28.680 --> 05:33.660 different configuration files that we have just created in the next lecture by.