Apache zookeeper 来自Spring Cloud的Zookeeper对象实例

Apache zookeeper 来自Spring Cloud的Zookeeper对象实例,apache-zookeeper,spring-cloud-zookeeper,Apache Zookeeper,Spring Cloud Zookeeper,我有一个SpringBoot应用程序,我使用Zookeeper启用了服务发现。我在pom中有以下依赖项 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> &

我有一个SpringBoot应用程序,我使用Zookeeper启用了服务发现。我在pom中有以下依赖项

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-bootstrap</artifactId>
            <version>3.0.2</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
            <version>3.0.1</version>
        </dependency>

org.springframework.boot
SpringBootStarterWeb
org.springframework.cloud
SpringCloudStarter引导程序
3.0.2
org.springframework.cloud
SpringCloudStarter动物园管理员发现
3.0.1
现在,除了服务元数据之外,我希望在zookeeper中推送一些额外的数据(创建zNode)。使用上述依赖项,我如何访问org.apache.zookeeper.zookeeper实例和/或org.apache.curator.utils.ZookeeperFactory实例