Support for custom org.apache.zookeeper.client.HostProvider implementation.
---------------------------------------------------------------------------

                 Key: ZOOKEEPER-1172
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1172
             Project: ZooKeeper
          Issue Type: Improvement
          Components: java client
            Reporter: César Álvarez Núñez
            Priority: Minor


The interface org.apache.zookeeper.client.HostProvider exist but it is 
hardcoded to org.apache.zookeeper.client.StaticHostProvider at Zookeeper 
constructor.

Now it could be replaced by any other implementation just by pointing the 
system property "zookeeper.clientHostProvider" to the class name of your custom 
HostProvider implementation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to