对于最新的稳定版本,请使用 Spring Cloud Consul 4.3.0spring-doc.cadn.net.cn

Spring Cloud Bus 与 Consul

如何激活

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

有关可用的执行器端点以及如何发送自定义消息,请参阅 Spring Cloud Bus 文档。spring-doc.cadn.net.cn