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/11/07 09:02:54 UTC
[GitHub] [dubbo] AlbumenJ opened a new issue, #10888: Use `batchRegister` for nacos-client
AlbumenJ opened a new issue, #10888:
URL: https://github.com/apache/dubbo/issues/10888
Related with #10884 https://github.com/alibaba/nacos/issues/8448
由于 Nacos 2.x 不再支持同一服务多注册,导致 Dubbo 多协议发布会失效。
修改逻辑:
- 记录 `serviceName + group` 下是否存在多注册
- 如果存在:
- 判断 `batchRegister` 这个方法是否存在
- 如果`batchRegister` 存在,尝试调用,判断是否报错
- 如果`batchRegister` 存在或者调用报错,创建一个新的 `namingService` client,使用 register 注册 => 需要注意状态的映射,销毁的时候需要明确销毁的目标。client 最终也需要及时关闭。
--
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.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 #10888: Use `batchRegister` for nacos-client
Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #10888: Use `batchRegister` for nacos-client
URL: https://github.com/apache/dubbo/issues/10888
--
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