7. 带有 Consul 的 Spring Cloud Bus

7.1. 如何激活

要开始使用 Consul Bus,请使用 starter with grouporg.springframework.cloud和工件 IDspring-cloud-starter-consul-bus.有关使用当前 Spring Cloud Release Train 设置构建系统的详细信息,请参阅 Spring Cloud 项目页面spring-doc.cadn.net.cn

有关可用的 actuator endpoints 和如何发送自定义消息,请参阅 Spring Cloud Bus 文档。spring-doc.cadn.net.cn