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

Add Client/Server API to return available features

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.0
    • None
    • c client, java client, server
    • 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

            Unassigned Unassigned
            randgalt Jordan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: