[ 
https://issues.apache.org/jira/browse/KAFKA-10067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17120828#comment-17120828
 ] 

Tom Bentley commented on KAFKA-10067:
-------------------------------------

But the same argument applies: "having a public API that returned -API- any 
version information would encourage people to write code that only worked 
against specific broker versions."

> Provide API to detect cluster nodes version
> -------------------------------------------
>
>                 Key: KAFKA-10067
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10067
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>    Affects Versions: 2.5.0
>            Reporter: Yanming Zhou
>            Priority: Major
>
> {code:java}
>               try (AdminClient ac = AdminClient.create(conf)) {
>                       for (Node node : ac.describeCluster().nodes().get()) {
>                               System.out.println(node.host());
>                               System.out.println(node.version()); // missing 
> feature
>                       }
>               }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to