rreddy-22 commented on code in PR #13920: URL: https://github.com/apache/kafka/pull/13920#discussion_r1264500211
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractStickyAssignor.java: ########## @@ -158,7 +158,7 @@ private boolean allSubscriptionsEqual(Set<String> allTopics, // generation amongst for (final TopicPartition tp : memberData.partitions) { if (allTopics.contains(tp.topic())) { - String otherConsumer = allPreviousPartitionsToOwner.put(tp, consumer); + String otherConsumer = allPreviousPartitionsToOwner.get(tp); if (otherConsumer == null) { // this partition is not owned by other consumer in the same generation Review Comment: We'd Have to add a put here too -- 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