Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3762

Add Client/Server API to return available features

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: c client, java client, server
    • Labels:
      None

      Description

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

      public enum ServerFeatures {
          TTL_NODES,
          PERSISTENT_WATCHERS,
          ... etc ... full set of features TBD
      }
      
      // in ZooKeeper.java 
      public Collection<ServerFeatures> getServerFeatures() {
          ...
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              randgalt Jordan Zimmerman

              Dates

              • Created:
                Updated:

                Issue deployment