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