ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-2001

Please provide a parse method with input stream as parameter

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      org.apache.zookeeper.server.quorum.QuorumPeerConfig has the following two methods.
      1.public void parse(String path) throws ConfigException
      2. public void parseProperties(Properties zkProp)
      It would be great if you could please add a wrapper to take an input stream. In the first method, half way through it becomes a file input stream. So I assume its fairly easy to add this wrapper. The reason is most applications will be getting a stream with the classloader help.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Suresh Mathew
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development