Class RegistryConfiguration

java.lang.Object
pl.allegro.tech.hermes.consumers.config.RegistryConfiguration

@Configuration @EnableConfigurationProperties({KafkaClustersProperties.class,WorkloadProperties.class}) public class RegistryConfiguration extends Object
  • Constructor Details

    • RegistryConfiguration

      public RegistryConfiguration()
  • Method Details

    • consumerNodesRegistry

      @Bean(initMethod="start", destroyMethod="stop") public ConsumerNodesRegistry consumerNodesRegistry(org.apache.curator.framework.CuratorFramework curatorFramework, KafkaClustersProperties kafkaClustersProperties, WorkloadProperties workloadProperties, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths, Clock clock, pl.allegro.tech.hermes.infrastructure.dc.DatacenterNameProvider datacenterNameProvider)