public ZookeeperListenerAgentStartup(IOptions <ZookeeperListenerOptions> options, IExtractCommand extractCommand) { _extractCommand = extractCommand; _options = options.Value; _client = new ZookeeperClient(_options); ListenerPath = $"/Bucket.Listener/{_options.ListenerKey}"; }
public ZookeeperPublishCommand(IOptions <ZookeeperListenerOptions> options) { _options = options.Value; _client = new ZookeeperClient(_options); }