Spring Cloud Bus 与 Consul
如何激活
要开始使用 Consul Bus,请使用组 org.springframework.cloud
和 artifact id spring-cloud-starter-consul-bus
的 starter。 有关使用当前 Spring Cloud Release Train 设置构建系统的详细信息,请参阅 Spring Cloud 项目页面。
有关可用的 actuator 端点以及如何发送自定义消息,请参阅 Spring Cloud Bus 文档。