showuon commented on a change in pull request #9096:
URL: https://github.com/apache/kafka/pull/9096#discussion_r463371979



##########
File path: 
clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractStickyAssignor.java
##########
@@ -163,6 +183,7 @@ private boolean allSubscriptionsEqual(Set<String> allTopics,
         Map<String, List<TopicPartition>> assignment = new HashMap<>(
             
consumerToOwnedPartitions.keySet().stream().collect(Collectors.toMap(c -> c, c 
-> new ArrayList<>(minQuota))));
 
+        // step 1: Reassign as many previously owned partitions as possible

Review comment:
       Updated. Thanks @abbccdda .




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to