Eclipse MicroProfile 2.1 arrives with updated Open Tracing API in tow
The open forum to collaborate on enterprise Java microservices, Eclipse MicroProfile is here with a new release. MicroProfile 2.1 is available and it features an update for the Open Tracing API.
Eclipse MicroProfile is here with the eighth release. MicroProfile 2.1 continues to be based on Java EE 8 as the foundational programming model for the development of Java microservices and features an update for the Open Tracing API.
The updated version for the Open Tracing API brings logging exceptions thrown by explicit instrumentation, server operation name provider, and support for server side skip pattern among other things.
According to the official blog post, the highlights of this new release include:
- Continued alignment to Java EE 8
- A richer feature set for Open Tracing
- Additional features offering more functionality for implementing enterprise Java microservices
- All these APIs offer CDI-based and programmatic easy-to-use interfaces.
- Interoperability across different MicroProfile implementations provides users the freedom to select one or combine many MicroProfile implementations in an application
- A thorough set of artifacts for each API, including a Test Compatibility Kit (TCK), Javadoc, PDF document for download, API Maven artifact coordinates, Git tag, and downloads (spec and source code)
As I mentioned earlier, MicroProfile is based on Java EE 8, therefore, if you are still dependent on Java EE 7, you should consider using the 1.4 release of MicroProfile.
To get started with MicroProfile 2.1, add the following dependency to your pom.xml:
<dependency> <groupId>org.eclipse.microprofile</groupId> <artifactId>microprofile</artifactId> <version>2.1</version> <type>pom</type> <scope>provided</scope> </dependency>