Spring Cloud Bus刷新端点
/actuator/bus-refresh
端点清除RefreshScope
缓存并重新绑定@ConfigurationProperties
。有关更多信息,请参见刷新作用域文档。
要公开/actuator/bus-refresh
端点,您需要在应用程序中添加以下配置:
management.endpoints.web.exposure.include=bus-refresh
/actuator/bus-refresh
端点清除RefreshScope
缓存并重新绑定@ConfigurationProperties
。有关更多信息,请参见刷新作用域文档。
要公开/actuator/bus-refresh
端点,您需要在应用程序中添加以下配置:
management.endpoints.web.exposure.include=bus-refresh