源码分析:Nacos - 加载远程配置

1
2
3
4
5
6
7
8
Nacos - 加载远程配置  NacosConfigBootstrapConfiguration -> NacosPropertySourceLocator
NacosPropertySourceLocator.locate -> loadApplicationConfiguration -> loadNacosDataIfPresent -> loadNacosPropertySource
-> NacosPropertySourceBuilder.build
-> loadNacosData
-> data = configService.getConfig(dataId, group, timeout);
-> NacosConfigService.getConfigInner
-> ConfigResponse response = worker.getServerConfig(dataId, group, tenant, timeoutMs, false);
-> new NacosPropertySource