showuon commented on code in PR #12748: URL: https://github.com/apache/kafka/pull/12748#discussion_r1018907375
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractStickyAssignor.java: ########## @@ -1229,4 +1247,23 @@ private boolean in(Set<ConsumerPair> pairs) { return false; } } + + // An inner class to store ownedPartitions and generation data + private static class OwnedPartitionsWithGeneration { Review Comment: Good point! I should have thought about it. Thanks for the suggestion! -- 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