What is the difference between putting a property on application.yml or bootstrap.yml in spring boot?
http://cloud.spring.io/spring-cloud-consul/1.3.x/multi/multi_spring-cloud-consul-discovery.html
If you use Spring Cloud Consul Config, the above values will need to be placed in bootstrap.yml
instead of application.yml
.
网友评论