This Week in Spring - August 22nd, 2017

Hi Spring fans! Welcome to another installation of This Week in Spring. Can you believe we’re already nearing the end of August?? Time sure flies!

Last week and over the weekend I was in Hangzhou, China visiting with Alibaba, talking to a few of the teams using Spring Boot and Spring Cloud at China-scale.

This week I’m in Shanghai, China, where I’ve been talking to customers and spending a few days with the teams at Microsoft China who are working on the Spring Boot and Pivotal Cloud Foundry integrations for Microsoft Azure. They’re doing some amazing work and it’s been an honor to hang out with them. Check out all the cool Spring Boot starters that they’ve built for the various Azure services.


Introducing Actuator Endpoints in Spring Boot 2.0

Spring Boot 2 brings important changes to Actuator and I am pleased, on behalf of the team, to give you a sneak peek to what’s coming in 2.0.0.M4.

Working on a major new release gives us the opportunity to revisit some of the public contracts and improve them. We quickly felt that the endpoint infrastructure was one of them: currently, the web endpoints in the Actuator are only supported with Spring MVC (no JAX-RS support). Also, creating a new endpoint that exposes several operations requires writing quite a lot of boiler plate: you need to write a main endpoint, the Spring MVC extension (as a @RestController), a JMX MBean and the necessary auto-configuration. As of Spring Boot 2 support for a "reactive" actuator became an obvious requirement that also brings several new challenges.