Package com.netflix.config.source

Examples of com.netflix.config.source.ZooKeeperConfigurationSource


       
        if (client.getState() != CuratorFrameworkState.STARTED) {
          throw new RuntimeException("ZooKeeper located at " + zkConfigEnsemble + " is not started.");
        }
       
      ZooKeeperConfigurationSource zookeeperConfigSource = new ZooKeeperConfigurationSource(
                client, zkConfigRootPath);
        zookeeperConfigSource.start();
       
        DynamicWatchedConfiguration zookeeperDynamicConfig = new DynamicWatchedConfiguration(
            zookeeperConfigSource);

        // insert ZK DynamicConfig into the 2nd spot
View Full Code Here

TOP

Related Classes of com.netflix.config.source.ZooKeeperConfigurationSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.