Class CosIdZookeeperSegmentAutoConfiguration

java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.CosIdZookeeperSegmentAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(SegmentIdProperties.class) @ConditionalOnClass(ZookeeperIdSegmentDistributor.class) @ConditionalOnProperty(value="cosid.segment.distributor.type", matchIfMissing=true, havingValue="zookeeper") public class CosIdZookeeperSegmentAutoConfiguration extends Object
CosId Zookeeper Segment AutoConfiguration.
  • Constructor Details

    • CosIdZookeeperSegmentAutoConfiguration

      public CosIdZookeeperSegmentAutoConfiguration()
  • Method Details

    • idSegmentDistributorFactory

      @Bean @ConditionalOnMissingBean public IdSegmentDistributorFactory idSegmentDistributorFactory(org.apache.curator.framework.CuratorFramework curatorFramework, org.apache.curator.RetryPolicy retryPolicy)