Eclipse MicroProfile 1.2 is here: Updates and benefits
© Shutterstock / zmicier kavabata
Eclipse MicroProfile 1.2 is here and it builds on the 1.1 version, updates the Config API and adds the Health Check, Fault Tolerance, Metrics, and JWT Propagation APIs. Eclipse MicroProfile 1.3 and 2.0 should be released on the same day — November 17, 2017.
MicroProfile 1.1 was the first release under the stewardship of the Eclipse Foundation. Now it’s time for version 1.2.
There’s a great PDF about version 1.2 available on the Eclipse MicroProfile website, you should definitely check it out.
Eclipse MicroProfile 1.2: What’s new
We’ve already mentioned that version 1.2 builds on the 1.1 version, updates the Config API and adds the Health Check, Fault Tolerance, Metrics, and JWT Propagation APIs. If you want to see exactly what’s new, what has been updated and what has remained the same, there’s an interesting plan in the blog post announcing 1.2.
Cesar Saavedra explained in the blog post that Eclipse MicroProfile Health Check and Fault Tolerance address the following concerns:
- In a cloud infrastructure environment, where a running application in a microservice architecture may be composed of multiple running nodes, it is important for the underlying infrastructure processes to query and know the health of a node in order to take an appropriate action, e.g. passivate, terminate, replace the microservice.
- Microservices need to respond adequately in case of execution faults so that these faults do not bring down the service.
Eclipse MicroProfile Metrics and JWT Propagation address these concerns:
- The goal of metrics is to gather essential system parameters, which can be monitored to ensure the reliable operation of microservices.
- Authentication and authorization are concerns necessary for the secured execution of microservices.
MicroProfile 1.2 benefits
According to Saavedra, the additional features offer more functionality for implementing Enterprise Java microservices. Meanwhile, MicroProfile Health Check offers the ability for infrastructure systems to monitor the health and act upon it resulting in a more robust and available application and MicroProfile Fault Tolerance adds constructs such as bulkhead, circuit breaker, fallback, retry policy and timeout to microservices resulting in a more available and resilient application.
MicroProfile Metrics help to determine the health of an application, serve to pinpoint issues, provide long-term trend data for capacity planning and pro-active discovery of issues (e.g. disk usage growing without bounds) and MicroProfile JWT Propagation specifies MicroProfile-JWT tokens and how to map them to Java EE and non-Java EE containers resulting in more secure microservices using existing infrastructure environments.
For the complete list of benefits, check out Saavedra’s blog post.
For those who are not familiar with Eclipse MicroProfile or simply want to know more about this project, check out Alex Theedom’s article in which he explains the top five things developers need to remember about Eclipse MicroProfile.
Don’t miss this JAX London session next Tuesday! Emily Jiang and Tom Evans will give a short overview of MicroProfile and how it plans to optimize microservices for Enterprise Java, followed by the demonstration of the MicroProfile config and Fault Tolerance specification being prototyped in MicroProfile.