Tomcat and TomEE Clustering Automation

Apache Tomcat is an open-source application server maintained by the Apache community. It is one of the most popular solutions for hosting Java applications due to its ease of use and lightweight yet versatile functionality. However, if you run the projects based on Jakarta EE 8 (or higher), you may be interested to use the TomEE server with built-in required enterprise technology that isn't found in Tomcat.

Due to the extreme popularity of these stacks globally and within Jelastic PaaS in particular, we've decided to share the tips on how to install automatically clustered Tomcat and TomEE servers to get a highly available solution that can efficiently serve a large number of users, process high traffic, and be reliable.

Proper Kubernetes Health Check for a Kafka Streams Application

When you grass your cattle, you typically configure a health check to keep your herd alive. A very common livenessProbe  is about doing a GET request to an endpoint, and if the service replies with a  two hundred, then we’re fine, otherwise, the pod is destroyed and a new one is brought to live:

livenessProbe:
  httpGet:
    path: /health
    port: http