We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nacos-config-spring-boot-starter (version-0.2.8) yml文件开始预加载 bootstrap.enable & autoRefreshed:true 为什么不刷新配置呢?
The text was updated successfully, but these errors were encountered:
我的是springboot2.0.0+nacos-config-spring-boot-starter0.2.7 也遇到这问题,不自动刷新
Sorry, something went wrong.
用的哪个注解?
NacosValue(value = "${xxx}", autoRefreshed = true) 就不会自动刷新。 必须在 启动类上添加 @NacosPropertySource(dataId = "xxx", autoRefreshed = true) 才能自动刷新。 这是为啥? 已经在 application.yml 里配置了。nacos.config.auto-refresh=true 了, 但完全没有生效。 稍微跟了下源码。 NacosPropertySource 注解和 NacosConfigProperties 走的两条路径。 @hujun-w-2 麻烦看下。 NacosPropertySource 是否必须
NacosPropertySource注解和yml中主配置及ext-config[index]配置的关系及使用场景是怎么样的,哪里有具体文档说明?我试过这种场景: 启动类中加上注解NacosPropertySource ,并且在yml配了主配置nacos.config.auto-refresh=true,nacos.config.bootstrap.enable=true,NacosValue(value = "${xxx}", autoRefreshed = true)依然不会自动刷新; 以上不配置bootstrap.enable=true,NacosValue就可以刷新。
No branches or pull requests
nacos-config-spring-boot-starter (version-0.2.8) yml文件开始预加载 bootstrap.enable & autoRefreshed:true 为什么不刷新配置呢?
The text was updated successfully, but these errors were encountered: