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 2021/01/08 15:26:41 UTC

[GitHub] [dubbo-samples] wzg547228197 commented on a change in pull request #236: add case-configuration in dubbo-samples-nacos-router

wzg547228197 commented on a change in pull request #236:
URL: https://github.com/apache/dubbo-samples/pull/236#discussion_r554009427



##########
File path: dubbo-samples-nacos/dubbo-samples-nacos-conditionrouter/src/main/resources/spring/dubbo-demo-provider.xml
##########
@@ -29,7 +29,8 @@
 
     <dubbo:registry address="nacos://${nacos.address:127.0.0.1}:8848"/>
 
-    <dubbo:protocol port="${dubbo.port:20880}"/>
+    <dubbo:protocol name="dubbo" port="20880" heartbeat="10000"/>
+    <dubbo:protocol name="dubbo" port="20881" heartbeat="10000"/>

Review comment:
       对,原来的provider.xml配置只有20880,但我看pom.xml里两个端口都配置了




----------------------------------------------------------------
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:
users@infra.apache.org



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