In this video we will learn about consumer in Kafka. We will see that how the consumer group is going to behave when topic is having two partition and consumer group has only one consumer in it.
Kafka producer will publish messages to both the partition in random manner. The single consumer will consume messages from both the partition.