owen200008 commented on PR #10380: URL: https://github.com/apache/dubbo/pull/10380#issuecomment-1200913592
> > 我这边要做的就是service和ref的一个热加载的功能,service mesh里面控制面肯定也是需要这块的 > > 这里在 3.0 的最新版本中,最好是和 ModuleModel 一起来做的,一次热发布绑定到 ModuleModel 的生命周期。目前 Spring Context 也支持绑定到 ModuleModel 上,在 Spring Context 关闭后也会自动关闭 ModuleModel,然后连带清理环境。当然单个的 Config 也是支持独立热发布的。 > > > ModuleModel => ConfigManager => ServiceConfig > > 这里想到一个方式,是否可以 ServiceConfig 向 ConfigManager 发送初始化或者销毁的通知,由 ConfigManager 来决策是否销毁这个引用。 这样是可以的 目前我对注册进ConfigManager的用途没有深入研究过,因为目前在ModuleModel里面的deployer有exportservice这个保存的配置信息已经足够了,后期是打算全部放到ConfigManager,这边都删除掉吗? -- 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]
