Spring Cloud Bus with Consul
How to activate
要开始使用 Consul Bus,请使用组 org.springframework.cloud
和构件 id spring-cloud-starter-consul-bus
来使用 starter。有关使用当前 Spring Cloud Release Train 设置构建系统的信息,请参阅 Spring Cloud Project page。
To get started with the Consul Bus use the starter with group org.springframework.cloud
and artifact id spring-cloud-starter-consul-bus
. See the Spring Cloud Project page for details on setting up your build system with the current Spring Cloud Release Train.
参阅 Spring Cloud Bus 文档,了解可用的 actuator 端点以及如何发送自定义消息。
See the Spring Cloud Bus documentation for the available actuator endpoints and howto send custom messages.