Spring Boot 2.0 Projects
上QQ阅读APP看书,第一时间看更新

Using the changed actuator configuration properties

The following changes have been introduced in the Spring Boot Actuator configuration properties in Spring Boot 2.0:

  • endpoints.* properties have been moved under management.*
  • management.* properties have been moved under management.server.*
  • endpoints.<id>.* properties have been moved under management.endpoint.<id>.*
  • Shutdown endpoint must be explicitly enabled by setting the management.endpoint.shutdown.enabled configuration property to true

These changes have the potential to break existing code, and so must be changed accordingly when migrating.