Why does Kubernetes TCP readiness probe initially return “connection refused” for Kafka broker?
Summary The Kubernetes TCP readiness probe initially returns a “connection refused” error for a Kafka broker due to the way TCP sockets and readiness probes work in Kubernetes. This issue is not specific to Kafka, but rather a general behavior of TCP readiness probes in Kubernetes. Root Cause The root cause of this issue is: … Read more