Spring Cloud Nacos
2022-02-16 23:06:53 0 举报
Spring Cloud Nacos核心原理图解
作者其他创作
大纲/内容
pull request
统一配置中心
订单模块
product
Nacos Server
devlop
Group
Nacos
同步
营销模块
Mysql数据库集群(一主多从)
application.properties
allSubs
订单服务
Nacos Dashboard/API
test
update config
ip:8848
1. 启动时从远程同步配置
Namespace
配置更新事件
定时任务,延时29.5s执行
会员服务
加入到队列
monitor.properties
Order_Application的配置
商品模块
返回发生变化的配置
VIP
等待期
0.5s
Service/DataId
ClientLongPolling
fireEvent
29.5s
共享配置
2. 配置修改
3. 配置项同步
Member_Application的配置
会员模块
检查期
log.properties
Nacos Client
console
收藏
收藏
0 条评论
下一页