-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
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
resource/application-profile.yml和apollo配置的优先级问题 #4936
Comments
apollo的配置可以比config目录下的配置更高吗?(目的是config保存一份配置应急) |
timorDevp
changed the title
jar包内的resource/application-profile.yml和apollo配置的优先级问题
resource/application-profile.yml和apollo配置的优先级问题
Jul 20, 2023
apollo 配置设计上优先级是比本地配置文件高的,如果确实有问题的话,可以上传一个样例? |
谢谢,问题好像解决了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述bug
根据springboot官网的解释:https://docs.spring.io/spring-boot/docs/2.3.10.RELEASE/reference/html/spring-boot-features.html#boot-features-external-config,jar包内的application-profile.yml的优先级是高于jar包外的application.properties的,那apollo配置加载优先级也低于jar包内的配置吧?
参考issue(https://github.com/apolloconfig/apollo/issues/4687),升级了apollo版本,但是apollo优先级应该还是低于resource/application-profile.yml
期望
apollo配置如何覆盖jar包内的application-profile.yml 相同key配置呢?
额外的细节和日志
The text was updated successfully, but these errors were encountered: