0
0
Kafkadevops~5 mins

Key broker metrics in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the role of the Broker in Kafka?
A Kafka broker is a server that stores data and serves clients. It handles read and write requests for topics and manages data replication.
Click to reveal answer
beginner
What does the MessagesInPerSec metric measure in a Kafka broker?
It measures the number of messages the broker receives per second from producers.
Click to reveal answer
intermediate
Explain the UnderReplicatedPartitions metric.
This metric shows how many partitions have fewer replicas in sync than expected, indicating potential data loss risk.
Click to reveal answer
intermediate
What does the RequestHandlerAvgIdlePercent metric indicate?
It shows the average percentage of time the broker's request handler threads are idle, helping to understand broker load.
Click to reveal answer
beginner
Why is monitoring BytesInPerSec and BytesOutPerSec important?
These metrics track the data volume flowing into and out of the broker, helping to detect bottlenecks or unusual traffic.
Click to reveal answer
Which Kafka broker metric shows the number of messages received per second?
ARequestHandlerAvgIdlePercent
BBytesOutPerSec
CUnderReplicatedPartitions
DMessagesInPerSec
What does a high value in UnderReplicatedPartitions mean?
ASome partitions have fewer replicas than expected
BMore partitions are fully replicated
CBroker is idle
DHigh message throughput
If RequestHandlerAvgIdlePercent is very low, what does it suggest?
ABroker threads are mostly idle
BNo messages are being processed
CBroker threads are mostly busy
DBroker is offline
Which metric helps monitor the data volume sent from the broker to consumers?
ABytesInPerSec
BBytesOutPerSec
CMessagesInPerSec
DUnderReplicatedPartitions
Why is it important to monitor BytesInPerSec?
ATo track data volume coming into the broker
BTo measure broker CPU usage
CTo check how many messages are consumed
DTo count under-replicated partitions
Describe the key Kafka broker metrics you would monitor to ensure broker health and performance.
Think about message flow, replication status, and thread activity.
You got /5 concepts.
    Explain why UnderReplicatedPartitions is critical for Kafka reliability.
    Consider what happens if replicas are not in sync.
    You got /4 concepts.