liubao68 commented on issue #2196: URL: https://github.com/apache/servicecomb-java-chassis/issues/2196#issuecomment-760597625
服务启动的时候,有可能连不上配置中心,这个时候, bean加载就可能无法获取配置中心数据,可以查看运行日志,确认是否存在这种情况。 在可以连上配置中心的场景, 一般能够获取到。 配置中心在 `ConfigurationSpringInitializer`, 它实现了 `PropertySourcesPlaceholderConfigurer`, 通常会在业务bean之前加载, 这个是spring保证的。 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
