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