You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yanming Zhou (Jira)" <ji...@apache.org> on 2020/06/01 00:21: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=17120657#comment-17120657 ] 

Yanming Zhou commented on KAFKA-10067:
--------------------------------------

I'm talking about release version not api version, WebUI/GUI admin client want to know which version is running.

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