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/11/01 03:19:54 UTC
[GitHub] [dubbo] ittxy opened a new issue #9172: @DubboReference(consumer = "xxx", lazy = true) 引用不到正确的consumer对象
ittxy opened a new issue #9172:
URL: https://github.com/apache/dubbo/issues/9172
在配置文件中配置多个consumer,可能@DubboReference引用不到正确consumer,永远只能取列表第一个consumer使用
server.port=8083
dubbo.application.name=rpc-two-consumer
dubbo.application.owner=com.test
dubbo.application.organization=test
dubbo.application.logger=slf4j
dubbo.application.compiler=javassist
dubbo.application.qosEnable=true
#RegistryConfig
dubbo.registries.registry-rpc-one.id=registry-rpc-one
dubbo.registries.registry-rpc-one.protocol=zookeeper
dubbo.registries.registry-rpc-one.client=curator
#两个不同集群的注册中心 其中一个
dubbo.registries.registry-rpc-one.address=localhost:2181
dubbo.registries.registry-rpc-one.group=dubbo/rpc-one-server
dubbo.consumers.consumer-rpc-one.registryIds=registry-rpc-one
dubbo.consumers.consumer-rpc-one.check=true
dubbo.consumers.consumer-rpc-one.timeout=15000
#dubbo.protocols.{protocol bean name}.id
dubbo.registries.registry-rpc-two.id=registry-rpc-two
dubbo.registries.registry-rpc-two.protocol=zookeeper
dubbo.registries.registry-rpc-two.client=curator
#两个不同集群的注册中心 其中一个
dubbo.registries.registry-rpc-two.address=localhost:2181
dubbo.registries.registry-rpc-two.group=dubbo/rpc-two-server
dubbo.consumers.consumer-rpc-two.registryIds=registry-rpc-two
dubbo.consumers.consumer-rpc-two.check=true
dubbo.consumers.consumer-rpc-two.timeout=15000
--
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
[GitHub] [dubbo] AlbumenJ closed issue #9172: @DubboReference(consumer = "xxx", lazy = true) 引用不到正确的consumer对象
Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #9172:
URL: https://github.com/apache/dubbo/issues/9172
--
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
[GitHub] [dubbo] ittxy commented on issue #9172: @DubboReference(consumer = "xxx", lazy = true) 引用不到正确的consumer对象
Posted by GitBox <gi...@apache.org>.
ittxy commented on issue #9172:
URL: https://github.com/apache/dubbo/issues/9172#issuecomment-956093703
非常感谢,我试试,感觉@DubboService 机制一样可能也有这个问题
--
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