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