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