frankvicky commented on code in PR #19203:
URL: https://github.com/apache/kafka/pull/19203#discussion_r1994618992


##########
clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java:
##########
@@ -2370,7 +2370,7 @@ private Map<String, KafkaFuture<TopicDescription>> 
handleDescribeTopicsByNamesWi
         }
 
         // First, we need to retrieve the node info.
-        DescribeClusterResult clusterResult = describeCluster();
+        DescribeClusterResult clusterResult = describeCluster(new 
DescribeClusterOptions().timeoutMs(options.timeoutMs));

Review Comment:
   nit: use getter instead of field.



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