Common application properties

Various properties can be specified inside your application.properties file, inside your application.yml file, or as command line switches. This appendix provides a list of common Spring Cloud Bus properties and references to the underlying classes that consume them.spring-doc.cn

Property contributions can come from additional jar files on your classpath, so you should not consider this an exhaustive list. Also, you can define your own properties.
Name Default Description

spring.cloud.bus.ack.destination-servicespring-doc.cn

Service that wants to listen to acks. By default null (meaning all services).spring-doc.cn

spring.cloud.bus.ack.enabledspring-doc.cn

truespring-doc.cn

Flag to switch off acks (default on).spring-doc.cn

spring.cloud.bus.content-typespring-doc.cn

The bus mime-type.spring-doc.cn

spring.cloud.bus.destinationspring-doc.cn

Name of Spring Cloud Stream destination for messages.spring-doc.cn

spring.cloud.bus.enabledspring-doc.cn

truespring-doc.cn

Flag to indicate that the bus is enabled.spring-doc.cn

spring.cloud.bus.env.enabledspring-doc.cn

truespring-doc.cn

Flag to switch off environment change events (default on).spring-doc.cn

spring.cloud.bus.idspring-doc.cn

applicationspring-doc.cn

The identifier for this application instance.spring-doc.cn

spring.cloud.bus.refresh.enabledspring-doc.cn

truespring-doc.cn

Flag to switch off refresh events (default on).spring-doc.cn

spring.cloud.bus.trace.enabledspring-doc.cn

falsespring-doc.cn

Flag to switch on tracing of acks (default off).spring-doc.cn