AlbumenJ commented on issue #13298: URL: https://github.com/apache/dubbo/issues/13298#issuecomment-1789944190
首先考虑这个 sync 模型的合理性: 需求侧是合理的,按照一定的标签去隔离同步的数据。 实现侧可以简单一些,目前其实就两个方案: 1)(建议的)Dubbo SDK 侧注册的时候在 Metadata 添加数据,sync 的时候直接识别。实现方案可以按照 https://github.com/apache/dubbo/issues/13293 提的 `ServiceInstanceCustomizer` 实现。 2)sync 侧去判断 revision 对应的信息。但这里会存在几个问题:revision 默认 local,sync 侧很难获取正式数据;通过 definition 获取的是非实时数据准确度有问题 -- 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]
