spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

How to increase precedence of Consul property source ? #737

Closed TwinkleTShah closed 1 year ago

TwinkleTShah commented 3 years ago

Hello,

We are trying to upgrade to spring boot 2.4.x (from 2.3.x). And the precedence of the consul property sources seems to have changed. Earlier consul property sources had higher precedence over systemProperties and systemEnvironment. Now it has changed to lower precedence than the two system property sources. Is there a way to make Consul higher precedence than systemProperties/systemEnvironment?

Thanks,

spencergibb commented 1 year ago

Are you using bootstrap or spring.config.import?

spring-cloud-issues commented 1 year ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-cloud-issues commented 1 year ago

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.