pandaapo commented on issue #10765:
URL: https://github.com/apache/dubbo/issues/10765#issuecomment-1286811150

   I used `dubbo-demo-spring-boot` to try to reproduce this bug, but it seems 
to work well.
   
   I modified the provider `application.yml`:
   ```
   dubbo:
     application:
       name: dubbo-springboot-demo-provider
     protocol:
       name: dubbo
       port: -1
     provider:
       tag: tagA # another instance is configured as tagB
     registry:
       id: zk-registry
       address: zookeeper://127.0.0.1:2181
   #  config-center:
   #    address: zookeeper://127.0.0.1:2181
   #  metadata-report:
   #    address: zookeeper://127.0.0.1:2181
   ```
   I modified the consumer `application.yml`:
   ```
   dubbo:
     application:
       name: dubbo-springboot-demo-consumer
   #  protocol:
   #    name: dubbo
   #    port: -1
     consumer:
       tag: tagB
     registry:
       id: zk-registry
       address: zookeeper://127.0.0.1:2181
   #  config-center:
   #    address: zookeeper://127.0.0.1:2181
   #  metadata-report:
   #    address: zookeeper://127.0.0.1:2181
   ```
   
   This is the result of running consumer:
   ```
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   result: I am tag B, Hello world
   ``` 
   
   Does this bug only occur in some specified situation?


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

To unsubscribe, e-mail: [email protected]

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