java – Kafka Consumers under the same group are consuming the same partition after rebalancing

According to Kafka documentation: Kafka provides the guarantee that a topic-partition is assigned to only one consumer within a group. But I’m observing different behavior in my service. Here are some details: I’m using Kafka 2.8 and spring-kafka 2.2.13. Initially I had one Kafka topic topic.1 with 5 partitions in it, this topic was consumed … Read more