Spring Cloud Bus 與 Consul
如何啟用
若要開始使用 Consul Bus,請使用群組為 org.springframework.cloud
及 artifact id 為 spring-cloud-starter-consul-bus
的 starter。請參閱 Spring Cloud 專案頁面 以取得使用目前 Spring Cloud Release Train 設定建置系統的詳細資訊。
請參閱 Spring Cloud Bus 文件以了解可用的 actuator 端點以及如何傳送自訂訊息。