标签:nconf conf 实现类 imp sync reg trie The 方法
@EnableEurekaServer --->@Import(EurekaServerConfiguration.class)--->EurekaServerConfiguration的内部类EurekaServerConfigBeanConfiguration
注册serverConfig的实现类EurekaServerConfigBean,方法中有if (clientConfig.shouldRegisterWithEureka()) { server.setRegistrySyncRetries(5);}
所以registrySyncRetries的值根据shouldRegisterWithEureka的值有可能是5或者0
标签:nconf conf 实现类 imp sync reg trie The 方法
原文地址:https://www.cnblogs.com/chuliang/p/11994041.html