AndrewJSchofield commented on code in PR #20235: URL: https://github.com/apache/kafka/pull/20235#discussion_r2227804943
########## tools/src/main/java/org/apache/kafka/tools/consumer/group/ConsumerGroupCommand.java: ########## @@ -1054,7 +1054,7 @@ private List<TopicPartition> filterNonExistentPartitions(Collection<TopicPartiti .map(partitionInfo -> new TopicPartition(entry.getKey(), partitionInfo.partition()))) .toList(); - return topicPartitions.stream().filter(element -> !existPartitions.contains(element)).toList(); + return topicPartitions.stream().filter(tp -> !existPartitions.contains(tp)).toList(); Review Comment: Ah sorry. I misread it. Please ignore this comment. -- 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