zrlw edited a comment on issue #378:
URL: https://github.com/apache/dubbo-samples/issues/378#issuecomment-934637393


   要兼容zk 3.4.x,需要使用curator 4.2.0 (目前maven上4.2.x的curator只有4.2.0版本)
   
   ZooKeeper Version 3.4.x Compatibility
   https://curator.apache.org/zk-compatibility-34.html
   
   ZooKeeper 3.4.x is now at end-of-life. Consequently, the latest versions of 
Curator have removed support for it. If you wish to use Curator with ZooKeeper 
3.4.x you should pin to version 4.2.x of Curator. Curator 4.2.x supports 
ZooKeeper 3.4.x ensembles in a soft-compatibility mode. To use this mode you 
must exclude ZooKeeper when adding Curator to your dependency management tool.
   
   Maven
   ```
   <dependency>
       <groupId>org.apache.curator</groupId>
       <artifactId>curator-recipes</artifactId>
       <version>4.2.0</version>
       <exclusions>
           <exclusion>
               <groupId>org.apache.zookeeper</groupId>
               <artifactId>zookeeper</artifactId>
           </exclusion>
       </exclusions>
   </dependency>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to