0

I have a spring boot application with application.yaml, also I gonna switch a Spring Cloud Config Server on.

The question is: which properties of these 2 above have a priority?

0

1 Answer 1

0

A Spring application can use a Config Server as a property source.

Properties from a Config Server will override those defined locally (e.g. via an application.yml in the classpath).

1
  • In my case it doesn't happen for some reason. And Local properties have a precendence, some way.
    – pswrdf
    Commented Nov 29 at 8:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.