Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In GroupMetadataManager.removeGroupsForPartition, we currently remove all groups from the cache, but we should only be removing groups for the respective partition. This will cause an unneeded rebalance for groups mistakenly removed. And since the generation would reset to 0 in this case, the offsets from the current generation would be rejected and the consumer would see duplicates.