TaiJuWu commented on code in PR #20674:
URL: https://github.com/apache/kafka/pull/20674#discussion_r2480250550


##########
clients/src/main/java/org/apache/kafka/clients/admin/DescribeFeaturesOptions.java:
##########
@@ -16,8 +16,27 @@
  */
 package org.apache.kafka.clients.admin;
 
+import java.util.OptionalInt;
+
 /**
  * Options for {@link AdminClient#describeFeatures(DescribeFeaturesOptions)}.
  */
 public class DescribeFeaturesOptions extends 
AbstractOptions<DescribeFeaturesOptions> {
+    private OptionalInt nodeId = OptionalInt.empty();
+
+    /**
+     * Set the node id to which the request should be sent.
+     */

Review Comment:
   Sorry, I does not describe accurately.
   It should be said that a bootstrap controller can only retrieve the 
controller’s feature version,
   and a bootstrap broker can only retrieve the broker’s feature version.
   If you try to retrieve the broker’s feature version using a bootstrap 
controller, it will simply wait until timeout.



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

Reply via email to