Class RegistryConfiguration


  • @Configuration
    public class RegistryConfiguration
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConsumerNodesRegistry consumerNodesRegistry​(org.apache.curator.framework.CuratorFramework curatorFramework, pl.allegro.tech.hermes.common.config.ConfigFactory configFactory, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths, java.time.Clock clock)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegistryConfiguration

        public RegistryConfiguration()
    • Method Detail

      • consumerNodesRegistry

        @Bean(initMethod="start",
              destroyMethod="stop")
        public ConsumerNodesRegistry consumerNodesRegistry​(org.apache.curator.framework.CuratorFramework curatorFramework,
                                                           pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
                                                           pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
                                                           java.time.Clock clock)