spring cloud how to change prefix in the bootstrap.properties

153 views Asked by At

Using spring-cloud

Currently I want to change the key name in bootstrap.properties
for example

spring.cloud.consul.config.enabled=false 

to

xxx.consul.config.enabled=false 

and the same function consul config will be disabled

any suggestion?

0

There are 0 answers