spring cloud configuration vs local properties

106 views Asked by At

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?

1

There are 1 answers

0
Andrei Lisa On BEST ANSWER

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).