WEBVTT 00:04.410 --> 00:10.880 Before getting started with configuration of consumer in Java, let me quickly refactor this file and 00:10.920 --> 00:15.690 add previous example where we have reduced simply numbers as messages. 00:16.050 --> 00:19.650 And here actually will be example number two. 00:19.710 --> 00:22.710 Let me add here comment example, too. 00:23.130 --> 00:31.680 And we are producing Kii actually format messages with client Edem of producer with a number of the 00:31.680 --> 00:36.540 message and that they are all looking at Yashar description for a modded. 00:38.130 --> 00:42.300 Strewing as message and the messages. 00:43.350 --> 00:48.300 I'll send with three hundred milliseconds delay. 00:49.530 --> 00:51.930 Three messages per second. 00:53.710 --> 00:59.800 And before that, we have looked at an example where we have sent just a message equal to the number, 01:00.040 --> 01:02.800 and let me actually add this example here above. 01:03.340 --> 01:07.810 And in that example, we have sent actually numbers as the strings. 01:08.720 --> 01:15.790 For Key and Velia, without any delay and luck, may actually quickly. 01:16.790 --> 01:25.730 Select this section, move it here like this, and we will not use threat sleep interval and also we 01:25.730 --> 01:33.150 have not formatted string like that and we have simply sent the number converted to string instead of 01:33.190 --> 01:33.860 message here. 01:34.370 --> 01:38.360 And also we have looked to the terminal like number of the message. 01:38.570 --> 01:41.270 Message here was no. 01:42.800 --> 01:49.440 Was just sent something like that, and afterwards, of course, we have simply closed producer. 01:49.460 --> 01:58.310 Let me copy this line and paste here, and that's basically all what we did here in the first example. 01:58.310 --> 02:01.970 And let me quickly verify whether it works or not. 02:02.000 --> 02:07.760 Let me comment on this entire example, number two, and let's try to run this producer. 02:11.280 --> 02:16.500 And the messages were successfully sent, basically, I have sent them to Swing's topic, but actually 02:16.500 --> 02:17.850 it doesn't matter for now. 02:17.850 --> 02:21.450 Let me uncommanded section and comment out this example. 02:21.570 --> 02:25.890 And actually I am doing that for your convenience because of this file. 02:26.040 --> 02:31.320 And actually, all files in this project will be available in GitHub repository and you will be able 02:31.320 --> 02:35.750 yourself to go to different examples and produce different kinds of messages. 02:35.760 --> 02:40.980 But please know that actually here you are able to adjust a number of records you want to produce and 02:40.980 --> 02:44.150 the topic you want or to produce messages, just do wonderful. 02:44.310 --> 02:45.150 Let's not proceed. 02:45.150 --> 02:50.520 And the next, let's create the basic consumer that will consume messages from particular topic. 02:50.710 --> 02:51.620 I'll see you next. 02:51.680 --> 02:52.160 Bye bye.