You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tom Bentley (Jira)" <ji...@apache.org> on 2020/05/29 12:49:00 UTC

[jira] [Commented] (KAFKA-10067) Provide API to detect cluster nodes version

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

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

This has been discussed numerous times before (see, e.g. [https://lists.apache.org/thread.html/7c26789ce3ea896225dd8f801c3519145a0fe250b9b92fd42572e10e@%3Cdev.kafka.apache.org%3E)] and the decision previously was to not add this feature. Unless you have reasons not previously considered in those discussions, I think this is unlikely to happen.

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