热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Apache Kafka 面试题与答案

问题 11. Explain the concept of Leader and Follower.

In every partition of Kafka, there is one server which acts as the Leader, and none or more servers plays the role as a Followers.

这有帮助吗? 添加评论 查看评论
 

问题 12. What ensures load balancing of the server in Kafka?

As the main role of the Leader is to perform the task of all read and write requests for the partition, whereas Followers passively replicate the leader. Hence, at the time of Leader failing, one of the Followers takeover the role of the Leader. Basically, this entire process ensures load balancing of the servers.

这有帮助吗? 添加评论 查看评论
 

问题 13. What roles do Replicas and the ISR play?

  • Basically, a list of nodes that replicate the log is Replicas. Especially, for a particular partition. However, they are irrespective of whether they play the role of the Leader.
  • In addition, ISR refers to In-Sync Replicas. On defining ISR, it is a set of message replicas that are synced to the leaders.

这有帮助吗? 添加评论 查看评论
 

问题 14. Why are Replications critical in Kafka?

Because of Replication, we can be sure that published messages are not lost and can be consumed in the event of any machine error, program error or frequent software upgrades.

这有帮助吗? 添加评论 查看评论
 

问题 15. If a Replica stays out of the ISR for a long time, what does it signify?

Simply, it implies that the Follower cannot fetch data as fast as data accumulated by the Leader.

这有帮助吗? 添加评论 查看评论
 

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。