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