You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/03/08 12:40:12 UTC

[GitHub] [dubbo] chickenlj opened a new issue #9750: Use Zookeeper and Curator as Dubbo registry or config center

chickenlj opened a new issue #9750:
URL: https://github.com/apache/dubbo/issues/9750


   ## Use Zookeeper and Curator as Dubbo registry or config center
   Here is a very brief notice of how to use Zookeeper as a registry or other centers in Dubbo. Dubbo 3 supports Curator as the official Zookeeper interaction framework. But it's the user's responsibility to set the right Zookeeper versions for both client and server in order to work together with different Curator versions. 
   
   Dubbo supports both Curator4 and Curator5 as the Zookeeper client. The simplest way to use Curator is like below:
   
   ### Curator4
   ```xml
   <properties>
       <dubbo.version>3.0.7-SNAPSHOT</dubbo.version>
   </properties>
   
   <dependencies>
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo</artifactId>
           <version>${dubbo.version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-dependencies-zookeeper</artifactId>
           <version>${dubbo.version}</version>
           <type>pom</type>
       </dependency>
   </dependencies>
   ```
   
   ### Curator5
   ```xml
   <properties>
       <dubbo.version>3.0.7-SNAPSHOT</dubbo.version>
   </properties>
   
   <dependencies>
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo</artifactId>
           <version>${dubbo.version}</version>
       </dependency>
       <dependency>
           <groupId>org.apache.dubbo</groupId>
           <artifactId>dubbo-dependencies-zookeeper-curator5</artifactId>
           <version>${dubbo.version}</version>
           <type>pom</type>
       </dependency>
   </dependencies>
   ```
   
   Check this notice from Curator for the compatible versions


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #9750: Use Zookeeper and Curator as Dubbo registry or config center

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9750:
URL: https://github.com/apache/dubbo/issues/9750#issuecomment-1061740145


   It's reported currently that there's a compatibility issue with Curator5 in 3.0.6 https://github.com/apache/dubbo/issues/9738, and it's expected to be fixed later in the next release.


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj closed issue #9750: Use Zookeeper and Curator as Dubbo registry or config center

Posted by GitBox <gi...@apache.org>.
chickenlj closed issue #9750:
URL: https://github.com/apache/dubbo/issues/9750


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org