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 09:50:00 UTC

[jira] [Comment Edited] (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=17120899#comment-17120899 ] 

Yanming Zhou edited comment on KAFKA-10067 at 6/1/20, 9:49 AM:
---------------------------------------------------------------

I don't think so, all relational database provide version information via JDBC, and Redis provide version information via info command, MongoDB provide db.version(), Elasticsearch provide server version via REST. I didn't hear anything about version lock-in, but vendor lock-in always happen.


was (Author: quaff):
I don't think so, all relational database provide version information via JDBC, and Redis provide version information via info command, MongoDB provide db.version(). I didn't hear anything about version lock-in, but vendor lock-in always 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)