diff --git a/1-basic/dubbo-samples-spring-boot-idl/README.md b/1-basic/dubbo-samples-spring-boot-idl/README.md index c5e4be5b41..061b2abf92 100644 --- a/1-basic/dubbo-samples-spring-boot-idl/README.md +++ b/1-basic/dubbo-samples-spring-boot-idl/README.md @@ -4,6 +4,11 @@ This example uses triple as the underlying RPC protocol and IDL to define servic # How to run +## Start Zookeeper +This example replies on Zookeeper as service discovery registry center, so you need to run the Zookeeper server first, there are two ways to do so: +1. [Download zookeeper binary and start it directly](https://dubbo-next.staged.apache.org/zh-cn/overview/reference/integrations/zookeeper/#本地下载) +2. [Start zookeeper using docker](https://dubbo-next.staged.apache.org/zh-cn/overview/reference/integrations/zookeeper/#docker) + ## Compile Step into 'dubbo-samples-spring-boot-idl' directory, run the following command: diff --git a/1-basic/dubbo-samples-spring-boot-idl/dubbo-samples-spring-boot-idl-provider/pom.xml b/1-basic/dubbo-samples-spring-boot-idl/dubbo-samples-spring-boot-idl-provider/pom.xml index a2f746b278..2c7e932655 100644 --- a/1-basic/dubbo-samples-spring-boot-idl/dubbo-samples-spring-boot-idl-provider/pom.xml +++ b/1-basic/dubbo-samples-spring-boot-idl/dubbo-samples-spring-boot-idl-provider/pom.xml @@ -34,7 +34,7 @@ org.apache.dubbo - dubbo-zookeeper-spring-boot-starter + dubbo-zookeeper-curator5-spring-boot-starter diff --git a/1-basic/dubbo-samples-spring-boot-idl/pom.xml b/1-basic/dubbo-samples-spring-boot-idl/pom.xml index 1ad3df0588..901f85b23d 100644 --- a/1-basic/dubbo-samples-spring-boot-idl/pom.xml +++ b/1-basic/dubbo-samples-spring-boot-idl/pom.xml @@ -36,13 +36,12 @@ Dubbo Samples Spring Boot - 1.8 - 1.8 + 17 + 17 UTF-8 3.3.0-beta.1 - 2.7.8 - 3.8.3 + 3.2.3 3.19.6 3.22.3 @@ -79,25 +78,6 @@ pom import - - org.apache.zookeeper - zookeeper - ${zookeeper.version} - - - logback-classic - ch.qos.logback - - - logback-core - ch.qos.logback - - - * - io.netty - - - diff --git a/1-basic/dubbo-samples-spring-boot/README.md b/1-basic/dubbo-samples-spring-boot/README.md index 04d9e5bedc..24d99cbedb 100644 --- a/1-basic/dubbo-samples-spring-boot/README.md +++ b/1-basic/dubbo-samples-spring-boot/README.md @@ -6,11 +6,19 @@ Please refer to * [the official documentation](https://dubbo.apache.org/zh-cn/overview/quickstart/java/spring-boot/) for more details of developing Dubbo with Spring Boot. * [dubbo-samples-spring-boot-idl](../dubbo-samples-spring-boot-idl) for how to use IDL(Protobuf) together with triple protocol. + ## Modules * interface, provides Dubbo service definition * provider, implements Dubbo service * consumer, consumes Dubbo service +# How to run + +## Start Zookeeper +This example replies on Zookeeper as service discovery registry center, so you need to run the Zookeeper server first, there are two ways to do so: +1. [Download zookeeper binary and start it directly](https://dubbo-next.staged.apache.org/zh-cn/overview/reference/integrations/zookeeper/#本地下载) +2. [Start zookeeper using docker](https://dubbo-next.staged.apache.org/zh-cn/overview/reference/integrations/zookeeper/#docker) + ## Install dependencies Step into 'dubbo-samples-spring-boot' directory, run the following command: diff --git a/1-basic/dubbo-samples-spring-boot/pom.xml b/1-basic/dubbo-samples-spring-boot/pom.xml index 74087ebc24..0ae37598aa 100644 --- a/1-basic/dubbo-samples-spring-boot/pom.xml +++ b/1-basic/dubbo-samples-spring-boot/pom.xml @@ -41,7 +41,7 @@ UTF-8 3.3.0-beta.1 - 3.2.0 + 3.2.3