@Configuration
@ConditionalOnProperty(value="genie.zookeeper.enabled")
public class ZookeeperConfig
extends java.lang.Object
Constructor and Description |
---|
ZookeeperConfig() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.zookeeper.config.CuratorFrameworkFactoryBean |
curatorFrameworkFactory(ZookeeperProperties zookeeperProperties)
The curator framework factory bean which will generate a valid Curator framework client for interacting with
Zookeeper from this Genie node.
|
@Bean public org.springframework.integration.zookeeper.config.CuratorFrameworkFactoryBean curatorFrameworkFactory(ZookeeperProperties zookeeperProperties)
zookeeperProperties
- The properties for Zookeeper