Spring Cloud Bus刷新端點

2023-11-30 15:04 更新

/actuator/bus-refresh端點清除RefreshScope緩存并重新綁定@ConfigurationProperties。有關(guān)更多信息,請參見刷新作用域文檔。

要公開/actuator/bus-refresh端點,您需要在應(yīng)用程序中添加以下配置:

management.endpoints.web.exposure.include=bus-refresh


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號