Our Kafka healthchecks seem to succeed every time, even when Kafka is unreachable. This was tested locally in the realtime docker-compose setup.
They succeed even when starting the server without a Kafka broker in the first place.
Scope
- Only the Real-Time API is in scope in this ticket.
- The goal is to record Kafka errors as a metric every time they occur in the Real-Time Kafka polling/subscription logic.
- The follow-up work to analyze error types and define different behaviors per error (e.g., runbooks, alerts, connection handling) will be a separate task.