Caching MicroProfile Microservices with Hazelcast in Kubernetes

| 12 pages

In this guide, you will learn how to use Hazelcast distributed caching with MicroProfile and deploy to a local Kubernetes cluster. You will then create a Kubernetes Service which load balances between containers and verify that you can share data between microservices.

The microservice you will deploy is called hazelcast-microprofile. The hazelcast-microprofile microservice simply helps you write (“put”) data and read it back. As the Kubernetes Service sends the request to a different pod each time you initiate the request, the data will be served by the shared hazelcast cluster between hazelcast-microprofile pods.

You will use a local single-node Kubernetes cluster. However, you can deploy this application on any Kubernetes distribution.