Apollo警告 Sync config failed, will retry
[WARN ] 2021-04-12 10:05:46 389 [Apollo-RemoteConfigRepository-1]c.c.f.a.i.AbstractConfigRepository 26 - Sync config failed, will retry.Repository class com.ctrip.framework.apollo.internals.RemoteConf
·
[WARN ] 2021-04-12 10:05:46 389 [Apollo-RemoteConfigRepository-1]
c.c.f.a.i.AbstractConfigRepository 26 - Sync config failed, will retry.
Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository,
reason: Load Apollo Config failed - appId: XXXXX-service, cluster: default,
namespace: sentinel
[WARN ] 2021-04-12 10:05:46 389 [Apollo-RemoteConfigRepository-1]
c.c.f.a.i.AbstractConfigRepository 26 - Sync config failed, will retry.
Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository,
reason: Load Apollo Config failed - appId: XXXXX-service, cluster: default,
namespace: sentinel
关于这警告的产生原因是因为:
这是阿里巴巴的流控中间件sentinel,需要访问apollo的namespace sentinel,
但是namespace没有被创建出来,所以会一直拿不到。
但是这个警告并不会影响实际应用的运行
解决办法:
在apollo配置中心添加名为sentinel的namespace,namespace可以不加任何配置,然后并且点击发布即可
更多推荐
已为社区贡献1条内容
所有评论(0)