dongnuo123 commented on code in PR #20097:
URL: https://github.com/apache/kafka/pull/20097#discussion_r2205506242
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/Utils.java:
##########
@@ -219,7 +219,7 @@ public static Map<Uuid, Set<Integer>>
assignmentFromTopicPartitions(
) {
return topicPartitionsList.stream().collect(Collectors.toMap(
ConsumerGroupCurrentMemberAssignmentValue.TopicPartitions::topicId,
- topicPartitions -> Collections.unmodifiableSet(new
HashSet<>(topicPartitions.partitions()))));
+ topicPartitions -> Collections.unmodifiableSet(new
HashSet<>(topicPartitions.partitions()))));
Review Comment:
nit: Do we need the extra indentation? since L221 and 222 are two parameters
of `Collectors.toMap`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]