This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch dev-metadata
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git

commit 413ed71defe34fe32d1489413ab7b48d1e9a715b
Author: ken.lj <[email protected]>
AuthorDate: Wed Oct 24 09:42:38 2018 +0800

    test registry group
---
 .../src/main/resources/META-INF/spring/dubbo-demo-consumer.xml        | 4 ++--
 .../src/main/resources/META-INF/spring/dubbo-demo-provider.xml        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
 
b/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
index 0216a13..97a8031 100644
--- 
a/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
+++ 
b/dubbo-demo/dubbo-demo-consumer/src/main/resources/META-INF/spring/dubbo-demo-consumer.xml
@@ -30,8 +30,8 @@
     </dubbo:application>
 
     <!-- use multicast registry center to discover service -->
-    <dubbo:registry address="zookeeper://127.0.0.1:2181" default="true"/>
-    <dubbo:registry address="zookeeper://127.0.0.1:2181"/>
+    <dubbo:registry group="dubboregistrygroup1" 
address="zookeeper://127.0.0.1:2181" default="true"/>
+    <dubbo:registry group="dubboregistrygroup1" 
address="zookeeper://127.0.0.1:2181"/>
 
     <dubbo:servicestore address="zookeeper://127.0.0.1:2181"/>
 
diff --git 
a/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
 
b/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
index bdf633f..01ccd6f 100644
--- 
a/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
+++ 
b/dubbo-demo/dubbo-demo-provider/src/main/resources/META-INF/spring/dubbo-demo-provider.xml
@@ -26,7 +26,7 @@
     <!--<dubbo:provider tag="tag3"/>-->
 
     <!-- use multicast registry center to export service -->
-    <dubbo:registry address="zookeeper://127.0.0.1:2181" simple="false">
+    <dubbo:registry group="dubboregistrygroup1" 
address="zookeeper://127.0.0.1:2181" simple="false">
         <dubbo:parameter key="config.check" value="false"/>
     </dubbo:registry>
 

Reply via email to