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/05/29 11:27:00 UTC

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

Yanming Zhou created KAFKA-10067:
------------------------------------

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


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