@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties public class ZookeeperAutoConfiguration extends Object
Auto-configuration that sets up Zookeeper discovery.| Constructor and Description |
|---|
ZookeeperAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.curator.framework.CuratorFramework |
curatorFramework(org.apache.curator.RetryPolicy retryPolicy,
ZookeeperProperties properties) |
org.apache.curator.RetryPolicy |
exponentialBackoffRetry(ZookeeperProperties properties) |
ZookeeperProperties |
zookeeperProperties() |
@Bean @ConditionalOnMissingBean public ZookeeperProperties zookeeperProperties()
@Bean(destroyMethod="close")
@ConditionalOnMissingBean
public org.apache.curator.framework.CuratorFramework curatorFramework(org.apache.curator.RetryPolicy retryPolicy,
ZookeeperProperties properties)
throws Exception
Exception@Bean @ConditionalOnMissingBean public org.apache.curator.RetryPolicy exponentialBackoffRetry(ZookeeperProperties properties)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.