Ejemplo n.º 1
0
 public ZookeeperModule UseZooKeeperServiceSubscribeManager(ContainerBuilderWrapper builder, ConfigInfo configInfo)
 {
     UseSubscribeManager(builder, provider =>
     {
         var result = new ZooKeeperServiceSubscribeManager(
             GetConfigInfo(configInfo),
             provider.GetRequiredService <ISerializer <byte[]> >(),
             provider.GetRequiredService <ISerializer <string> >(),
             provider.GetRequiredService <IServiceSubscriberFactory>(),
             provider.GetRequiredService <ILogger <ZooKeeperServiceSubscribeManager> >());
         return(result);
     });
     return(this);
 }