[
https://issues.apache.org/jira/browse/ZOOKEEPER-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062345#comment-17062345
]
Enrico Olivelli commented on ZOOKEEPER-3762:
--------------------------------------------
I see your pain [~randgalt]
We should go in the direction of making 3.6 100% compatible with 3.5 client.
See stuff like: ZOOKEEPER-3763
But regarding the ability to know which features are available on servers I am
a little skeptic for the reasons above
> Add Client/Server API to return available features
> --------------------------------------------------
>
> Key: ZOOKEEPER-3762
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3762
> Project: ZooKeeper
> Issue Type: New Feature
> Components: c client, java client, server
> Affects Versions: 3.6.0
> Reporter: Jordan Zimmerman
> Priority: Major
>
> Recent versions have introduced several new features/changes. Clients would
> benefit from an API that reports the feature set that a server instance
> supports. Something like (in Java):
> {code}
> public enum ServerFeatures {
> TTL_NODES,
> PERSISTENT_WATCHERS,
> ... etc ... full set of features TBD
> }
> // in ZooKeeper.java
> public Collection<ServerFeatures> getServerFeatures() {
> ...
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)