---
title: "Comment by netproxy on \"Stop Pinging Kafka - A Zero-Cost Health Check Pattern (and What Can Go Wrong)\" | Hashnode"
description: "The section on the stats callback firing while the broker is unreachable stood out to me — a health check that only looks at \"did the callback fire recently\" wo"
url: "https://hashnode.com/posts/stop-pinging-kafka-a-zero-cost-health-check-pattern-and-what-can-go-wrong/6ad65e65cb89e7ce1f6ae2c7/comment/6ad69f70d0d0b34960b500c0"
---

[Discussion](https://hashnode.com/posts/stop-pinging-kafka-a-zero-cost-health-check-pattern-and-what-can-go-wrong/6ad65e65cb89e7ce1f6ae2c7)

Comment [Stop Pinging Kafka - A Zero-Cost Health Check Pattern (and What Can Go Wrong)](https://hashnode.com/posts/stop-pinging-kafka-a-zero-cost-health-check-pattern-and-what-can-go-wrong/6ad65e65cb89e7ce1f6ae2c7)

[netproxy](https://hashnode.com/@argumentmoney8117)

[Oct 19](https://hashnode.com/posts/stop-pinging-kafka-a-zero-cost-health-check-pattern-and-what-can-go-wrong/6ad65e65cb89e7ce1f6ae2c7/comment/6ad69f70d0d0b34960b500c0)

The section on the stats callback firing while the broker is unreachable stood out to me — a health check that only looks at "did the callback fire recently" would happily report healthy during a disconnect. Parsing the broker connection state off-thread feels like the crucial half of this pattern that most write-ups skip.
