kylixs commented on a change in pull request #268:
URL: https://github.com/apache/dubbo-samples/pull/268#discussion_r561494864



##########
File path: 
dubbo-samples-webservice/dubbo-samples-webservice-consumer/src/main/resources/spring/dubbo-samples-webservice-consumer.xml
##########
@@ -21,9 +21,9 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
        http://dubbo.apache.org/schema/dubbo 
http://dubbo.apache.org/schema/dubbo/dubbo.xsd";>
 
-    <dubbo:application name="demo-consumer"/>
+    <dubbo:application name="dubbo-samples-webservice-consumer"/>
 
-    <dubbo:registry address="zookeeper://127.0.0.1:2181"/>
-
-    <dubbo:reference id="demoService" check="false" 
interface="org.apache.dubbo.samples.webservice.DemoService"/>
+    <dubbo:reference id="demoService" check="false" timeout="3000"

Review comment:
       这里好像不需要修改,原来是从registry中获取到调用地址,只需要修改注册中心地址
   ```
   <dubbo:registry 
address="zookeeper://${zookeeper.address:127.0.0.1}:${zookeeper.port:2181}"/>
   <dubbo:reference id="demoService" check="false" timeout="3000" 
interface="org.apache.dubbo.samples.webservice.DemoService"/>
   ```




----------------------------------------------------------------
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.

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