chia7712 commented on code in PR #16198: URL: https://github.com/apache/kafka/pull/16198#discussion_r1628398727
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/assignor/OptimizedUniformAssignmentBuilder.java: ########## @@ -160,7 +166,7 @@ public GroupAssignment build() throws PartitionAssignorException { */ private void maybeRevokePartitions() { for (String memberId : groupSpec.memberIds()) { - Map<Uuid, Set<Integer>> oldAssignment = groupSpec.memberAssignment(memberId); + Map<Uuid, Set<Integer>> oldAssignment = groupSpec.memberAssignment(memberId).partitions(); Review Comment: that makes sense to me :smile: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org