public ZooKeeperConfigurationProvider( ZooKeeperConfigurationOptions options, ILogger <ZooKeeperConfigurationProvider> logger) { _options = options; _watcher = new ZooKeeperWatcher(logger); }
private void InitConfig(string dataConnectionString, string deploymentId) { watcher = new ZooKeeperWatcher(logger); deploymentPath = "/" + deploymentId; deploymentConnectionString = dataConnectionString + deploymentPath; rootConnectionString = dataConnectionString; }