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?
✗ Incorrect
MessagesInPerSec counts how many messages the broker receives each second.
What does a high value in
UnderReplicatedPartitions mean?✗ Incorrect
UnderReplicatedPartitions indicates partitions with fewer replicas in sync, which is risky.
If
RequestHandlerAvgIdlePercent is very low, what does it suggest?✗ Incorrect
Low idle percent means request handler threads are busy handling requests.
Which metric helps monitor the data volume sent from the broker to consumers?
✗ Incorrect
BytesOutPerSec tracks data sent out from the broker.
Why is it important to monitor
BytesInPerSec?✗ Incorrect
BytesInPerSec measures the data volume entering the broker from producers.
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.