December 2019
Intermediate to advanced
314 pages
6h 51m
English
In the cloud environment, it is essential to allow services to report, and eventually publish, the overall health status to a defined endpoint. This can be achieved through MicroProfile Health Check, which allows a service to report the overall status as "UP" if it is available and "DOWN" if it is unavailable. This information can be collected by a service orchestrator, which can then use the health reports to make decisions.
Let's put these concepts into practice with the Chapter06/health example. First off, in order to use the health extension, we have included the following dependency in the pom.xml file:
<dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-smallrye-health</artifactId></dependency> ...
Read now
Unlock full access