Kafka, Java, Interview, Coding, Microservices.
within a partition, essentially a counter starting from zero. When a consumer group subscribes to a topic, Kafka performs a consumer rebalancing to distribute the partitions among the consumers in the group. This ensures even load balancing. Exclusive Listening: Each partition within a topic is