CCAAK · Question #45
If a broker's JVM garbage collection takes too long, what can occur?
The correct answer is B. ZooKeeper believes the broker to be dead. If the broker's JVM garbage collection (GC) pause is too long, it may fail to send heartbeats to ZooKeeper within the expected interval. As a result, ZooKeeper considers the broker dead, and the broker may be removed from the cluster, triggering leader elections and partition
Question
If a broker's JVM garbage collection takes too long, what can occur?
Options
- AThere will be a trigger of the broker's log cleaner thread.
- BZooKeeper believes the broker to be dead.
- CThere is backpressure to, and pausing of, Kafka clients.
- DLog files written to disk are loaded into the page cache.
How the community answered
(33 responses)- A3% (1)
- B70% (23)
- C9% (3)
- D18% (6)
Explanation
If the broker's JVM garbage collection (GC) pause is too long, it may fail to send heartbeats to ZooKeeper within the expected interval. As a result, ZooKeeper considers the broker dead, and the broker may be removed from the cluster, triggering leader elections and partition
Topics
Community Discussion
No community discussion yet for this question.