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 2022/10/21 11:10:40 UTC
[GitHub] [dubbo] pandaapo commented on issue #10765: dubbo.consumer.tag not work on 3.x
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: notifications-unsubscribe@dubbo.apache.org
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