Time is running out! Call for Code submissions due July 29 ›
Get the code
by Sanjeev Ghimire | Published June 27, 2019
This developer code pattern demonstrates the deployment of a Open Liberty application using Eclipse MicroProfile on Kubernetes. It uses Prometheus to scrape application metrics and the Grafana platform for analytics and monitoring. The application uses MicroProfile Release 2.1 and focuses on fault-tolerance, which is one of the features in that release.
All microservices fail, and it’s is important to create resilient microservices. Eclipse MicroProfile Fault Tolerance provides a simple, configurable, and flexible solution to create a fault-tolerant microservice. It offers the following fault-tolerance policies:
The main design is to separate execution logic from execution. The execution can be configured with fault-tolerance policies.
MicroProfile is a baseline platform definition that optimizes Enterprise Java for a microservices architecture and delivers application portability across multiple MicroProfile runtimes. Since the release of MicroProfile 1.2, the metrics feature comes out of the box with the platform.
The sample application used is a web application for managing a conference and is based on a number of discrete microservices. The front end is written in Angular; the backing microservices are in Java. All run on Open Liberty, in Docker containers managed by Kubernetes. It’s based on a demo application from the MicroProfile platform team. The fork sample application was converted to use Open Liberty and Microprofile Metrics, which is part of Microprofile Release 2.1.
Ready to get started? See the README for step-by-step instructions.
Kabanero is an open source project that brings together foundational open source technologies into a modern microservices-based framework.
Get the Code »
March 11, 2019
May 29, 2019
Back to top