WEBVTT 00:04.230 --> 00:09.480 Previously, we have installed intelligence and now all of the proceed and let's create a new project 00:09.780 --> 00:13.590 believes the Gleek create a new project and select one. 00:14.070 --> 00:19.290 You should see Java, where often here it is, a version of the software development kit. 00:19.290 --> 00:24.600 And in my case, I have more often than not and installed if you have different versions, you could 00:24.780 --> 00:27.330 choose what you want from this dropdown. 00:27.690 --> 00:34.800 And after selecting SDK version, just click next here in the bottom right corner here on the next page, 00:34.800 --> 00:39.870 you are able to give a name to your project and let's name it like this. 00:40.260 --> 00:47.700 Also here in this options, you are able to specify group I.D., artifact ID and Burraston and let me 00:47.700 --> 00:53.280 actually adjust a group ID and instead of all example, it will be the station. 00:53.760 --> 00:58.230 And I am happy with artifact and it will be Kafka and Parachilna will be 1.0. 00:58.410 --> 00:59.000 Wonderful. 00:59.160 --> 01:00.390 Let's click finish here. 01:03.290 --> 01:10.160 A new project will be created me disabled tip of the day like this and Glos, this will be wonderful. 01:10.430 --> 01:14.450 Also, you are able to enable to import from we're able to produce here. 01:14.450 --> 01:16.890 You'll see this notification in a right bottom corner. 01:17.060 --> 01:17.780 Let me do that. 01:17.780 --> 01:19.130 Enable our import. 01:19.280 --> 01:24.500 And immediately after the creation of the new project, you'll see here contents of the BOMBED-OUT XML 01:24.500 --> 01:24.890 file. 01:25.190 --> 01:31.270 Let me actually go to preferences and make phones a bit larger to make it the more visible on a screen. 01:31.550 --> 01:40.850 And here I'll go to editorial font and let me add just font size to, let's say, 18 like this apply 01:41.180 --> 01:42.510 and now it should look fine. 01:42.710 --> 01:50.990 Also looking at just font size of menu items, go to preferences again and here go appearance and behaviour 01:50.990 --> 01:57.950 and the select appearance select list checkbooks and adjust font size and make it 16 apply. 01:58.280 --> 01:59.700 And now we are good to go. 02:00.080 --> 02:00.660 Awesome. 02:00.980 --> 02:05.380 Let's not quickly explore the contents of this project that was created by intelligent. 02:05.720 --> 02:11.650 First of all, you see here bombed-out XML file that has some metadata of this project. 02:12.020 --> 02:19.670 Next, if you'll go to Kafka folder and expand S.A.C., you'll see that Intel has created the some sub 02:19.670 --> 02:22.040 folders like Maine and Test. 02:22.610 --> 02:28.730 We will create hourglasses here in this main folder in Java subfolder here. 02:29.000 --> 02:34.700 And actually let's verify whether everything works as expected and let's create sample glass. 02:34.700 --> 02:41.110 And in order to do that, the right mouse click, go to new and select the Java class and let's give 02:41.120 --> 02:46.910 name to this glass like test and let's create this glass inside of this file. 02:46.910 --> 02:53.090 You'll find definition of the test glass and notice that the name of the glass might just name of the 02:53.090 --> 02:56.770 file, just starting with a capital D Java. 02:56.930 --> 02:59.870 And here inside, let's create main method for this class. 02:59.870 --> 03:05.810 And for that you could simply type name and press enter and intelligence will allow to complete the 03:05.810 --> 03:06.640 remaining parts. 03:06.890 --> 03:09.440 And now let's bring to some string to the terminal. 03:09.590 --> 03:17.090 And in order to bring Dillane just diaper's or and press enter and it will allow to complete this line 03:17.090 --> 03:19.250 to system dot our dot print line. 03:19.430 --> 03:23.670 And here in double quotes, let's write them, for example. 03:23.700 --> 03:25.370 Let's get started. 03:27.010 --> 03:34.270 With Kafka API, let's not do this and let's run this main method in order to run it. 03:34.330 --> 03:39.070 Just click on this Green Arrow and Select Rentiers domain. 03:39.760 --> 03:41.260 This project will be built now. 03:41.260 --> 03:46.180 And here in the terminal I see Java error or at least a version of five not supported. 03:46.390 --> 03:51.640 If you see the same error, you should go to form dot example, file and add here. 03:51.850 --> 03:55.060 Broberg this section like this press tab here. 03:55.300 --> 03:59.470 It should be inside of the project and just type properties. 04:00.500 --> 04:06.260 And next step, and it will autocomplete completed and you'll see opening and closing the property stacks 04:06.590 --> 04:12.500 and here inside, let's add the Maven Compiler or Sorrell's and Maven Compiler or Target. 04:12.830 --> 04:19.880 Let's start here with Maven Compiler Sorrell's type it like this may even dot the compiler Sorrell's. 04:21.170 --> 04:27.910 And here, let's specify, I wounded eight again, there's a version of Java machine and we will target 04:27.950 --> 04:35.750 the Java Ed and on the next line, let's specify maven compiler of target type it like this may even 04:35.750 --> 04:38.000 though the compiler not target. 04:39.500 --> 04:43.950 And here, let's again specify version 1.0 eight, wonderful. 04:44.210 --> 04:47.540 Let's now go to this site tab and select here. 04:47.540 --> 04:53.900 Mabon, you should see here our project on the list and let's click this button that will impact all 04:53.900 --> 04:54.800 manner of projects. 04:56.400 --> 04:57.000 Wonderful. 04:57.240 --> 05:04.170 Let's now go back to our test of Dodgeville file, let's hide this one window and now let's try to execute 05:04.170 --> 05:05.180 our main method. 05:05.520 --> 05:08.240 Let's click again here and around the my. 05:09.340 --> 05:14.680 And knowledge of the work and the you'll see here in time, let's get started with Pscholka API and 05:14.680 --> 05:20.200 therefore we're able to proceed and the great Gulf producer and consumer here in our project. 05:20.410 --> 05:25.320 But in order to start with it, we need, of course, coffeecake last are up and running. 05:25.540 --> 05:27.510 And next, let's quickly start it up. 05:27.730 --> 05:34.420 We don't need to do the Java class or let's simply close it and let's remove it from Joseph folder simply 05:34.420 --> 05:34.660 right. 05:34.660 --> 05:36.370 Mouse click and select delete. 05:38.070 --> 05:40.220 OK, see you next, bye bye.