sunrui1225 commented on issue #1517:
URL: https://github.com/apache/dubbo-go/issues/1517#issuecomment-960378429


   开发设计思路:
   1,在 配置中心启动的时候添加监听
     位置:config/config_center_config.go的startConfigCenter方法
     添加cc.DynamicConfiguration.AddListener(cc.DataId, rc)
   
   2,RootConfig实现ConfigurationListener接口的Process方法,监听变更事件。
     1)对ConfigChangeEvent解析,得到变更后的配置,存放入koan的map中。
     2)需要考虑哪些字段能够热更新?超时时间?用户提到的provider.services,consumer.refrences?


-- 
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]

Reply via email to