I read this book and try to run this example and found this example didnot work with current consul kv store setting(gateway is working) except I move the following contents from bootstrap to application.properties for gamification and multiplication
There is another way to add spring-cloud-starter-bootstrap dependency in pom which will load bootstrap.properties and It seems the default mechanism doesnot load bootstrap.properties if we are not using spring-cloud-starter-bootstrap, please correct me if I am wrong .
I read this book and try to run this example and found this example didnot work with current consul kv store setting(gateway is working) except I move the following contents from bootstrap to application.properties for gamification and multiplication
spring.cloud.consul.config.prefixes=config spring.cloud.consul.config.format=yaml spring.cloud.consul.config.default-context=defaults spring.cloud.consul.config.data-key=application.yml
There is another way to add spring-cloud-starter-bootstrap dependency in pom which will load bootstrap.properties and It seems the default mechanism doesnot load bootstrap.properties if we are not using spring-cloud-starter-bootstrap, please correct me if I am wrong .