WEBVTT 00:04.470 --> 00:10.500 Now we are running two different consumers in the same consumer group, gold thumbs, and you'll see 00:10.500 --> 00:17.130 that the politicians where we are signed after we have started, second consumer and now three politicians 00:17.130 --> 00:23.040 are assigned to the consumer in my case and to remain politicians are assigned to second consumer. 00:23.460 --> 00:24.510 Let's not start. 00:24.510 --> 00:26.900 And now the consumer in the same consumer group. 00:27.150 --> 00:32.730 Let's go to list of commands and the the same command that will create one more consumer in the same 00:32.730 --> 00:33.030 group. 00:33.030 --> 00:35.440 NOM's open up new tab here. 00:35.460 --> 00:39.210 City took Ofcom and start one more consumer. 00:40.460 --> 00:47.030 Great, let's not produce additional message like then, and let's now read the tales about a group, 00:47.030 --> 00:52.880 NOM's and now in the Consumer AdCom, I should see three different consumer IDs. 00:53.090 --> 01:00.260 And yes, there the case to throw out partitions are assigned to the consumer to second protections 01:00.260 --> 01:05.510 are assigned to the next consumer and lost position is assigned to last. 01:05.510 --> 01:12.500 Consumer and distribution or partitions is where they are equally distributed among all consumers in 01:12.500 --> 01:12.940 the group. 01:13.460 --> 01:19.670 And now if I produce another messages, they will be again spread across different consumers in the 01:19.670 --> 01:25.230 same group and no single message will be received twice by different consumers. 01:25.550 --> 01:29.240 Let's go to this consumer and see him as just 11 and 13. 01:29.660 --> 01:36.100 He on this one, I don't see any messages after lost one nine and the last consumer I see number 12. 01:36.410 --> 01:40.520 And again, there was no single message that this consumed more than once. 01:41.060 --> 01:41.660 Wonderful. 01:41.900 --> 01:47.570 This whole picture looks like when we have three consumers and five partitions. 01:48.080 --> 01:54.770 But what will happen if quantity of consumers in consumer group is larger than quantity of available 01:54.770 --> 01:55.520 partitions? 01:56.240 --> 01:58.340 Let's divide it in the next shop by by.