You need to set alerts on key broker metrics to trigger notifications when the cluster is unhealthy.
Which are three minimum broker metrics to monitor?
(Select three.)
kafka.controller:type=KafkaController,name=TopicsToDeleteCount
kafka.controller:type=KafkaController,name=OfflinePartitionsCount
kafka.controller:type=KafkaController,name=ActiveControllerCount
kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec
kafka.controller:type=KafkaController,name=LastCommittedRecordOffset
These three metrics are critical for cluster health:
OfflinePartitionsCount: Indicates partitions without active leaders — a sign of broker failure.
ActiveControllerCount: There should beexactly one active controller. A count ≠ 1 signals controller failure.
UncleanLeaderElectionsPerSec: Tracks leader elections where out-of-sync replicas were selected — risky for data loss.
FromKafka Monitoring Documentation:
“Offline partitions and unclean leader elections should trigger alerts. Also, ensure a single active controller is running.”
A is about topics pending deletion — not critical.
E is a per-topic record metric, not broker-level.
Submit