This is an automated email from the ASF dual-hosted git repository.
crazyhzm pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 4fa0aa5 revert zk config for demo (#9281)
4fa0aa5 is described below
commit 4fa0aa59b6d7f614b2dfc97048369b067a41fbe9
Author: huazhongming <[email protected]>
AuthorDate: Tue Nov 16 15:23:13 2021 +0800
revert zk config for demo (#9281)
---
.../src/main/resources/spring/dubbo-consumer.properties | 2 +-
.../src/main/resources/spring/dubbo-consumer.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/dubbo-demo/dubbo-demo-annotation/dubbo-demo-annotation-consumer/src/main/resources/spring/dubbo-consumer.properties
b/dubbo-demo/dubbo-demo-annotation/dubbo-demo-annotation-consumer/src/main/resources/spring/dubbo-consumer.properties
index 46ff34d..151fc03 100644
---
a/dubbo-demo/dubbo-demo-annotation/dubbo-demo-annotation-consumer/src/main/resources/spring/dubbo-consumer.properties
+++
b/dubbo-demo/dubbo-demo-annotation/dubbo-demo-annotation-consumer/src/main/resources/spring/dubbo-consumer.properties
@@ -18,5 +18,5 @@
#
dubbo.application.name=dubbo-demo-annotation-consumer
-dubbo.registry.address=${zookeeper.connection.address}
+dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.protocol.port=-1
diff --git
a/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/src/main/resources/spring/dubbo-consumer.xml
b/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/src/main/resources/spring/dubbo-consumer.xml
index 374060b..a89803c 100644
---
a/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/src/main/resources/spring/dubbo-consumer.xml
+++
b/dubbo-demo/dubbo-demo-xml/dubbo-demo-xml-consumer/src/main/resources/spring/dubbo-consumer.xml
@@ -24,9 +24,9 @@
<dubbo:application name="demo-consumer">
</dubbo:application>
- <dubbo:metadata-report address="${zookeeper.connection.address}"/>
+ <dubbo:metadata-report address="zookeeper://127.0.0.1:2181"/>
- <dubbo:registry address="${zookeeper.connection.address}"/>
+ <dubbo:registry address="zookeeper://127.0.0.1:2181"/>
<dubbo:protocol name="dubbo" port="-1"/>
<dubbo:protocol name="rest" port="-1"/>