philipnee commented on code in PR #12603:
URL: https://github.com/apache/kafka/pull/12603#discussion_r966581908


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinator.java:
##########
@@ -756,10 +756,15 @@ protected boolean onJoinPrepare(Timer timer, int 
generation, String memberId) {
             joinPrepareTimer.update();
         }
 
+        final SortedSet<TopicPartition> partitionsToRevoke = 
getPartitionsToRevoke(protocol, generation, memberId);

Review Comment:
   Right, because if the consumer is assigned to a new partition, we will need 
to revoke them for eager protocol. (one case i can think of).



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

Reply via email to