lianetm commented on code in PR #15271:
URL: https://github.com/apache/kafka/pull/15271#discussion_r1467868971


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImpl.java:
##########
@@ -1010,17 +1000,24 @@ private void resolveMetadataForUnresolvedAssignment() {
             Optional<String> nameFromMetadata = 
findTopicNameInGlobalOrLocalCache(topicId);
             nameFromMetadata.ifPresent(resolvedTopicName -> {
                 // Name resolved, so assignment is ready for reconciliation.
-                addToAssignmentReadyToReconcile(topicId, resolvedTopicName, 
topicPartitions);
+                topicPartitions.forEach(tp -> {
+                    TopicIdPartition topicIdPartition = new TopicIdPartition(
+                        topicId,
+                            new TopicPartition(resolvedTopicName, tp));

Review Comment:
   Indentation is off here



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