How does Kafka handle fault tolerance and load balancing?

Question

How does Kafka handle fault tolerance and load balancing?

Discussion points

  • Replication: leader/follower partitions and the in-sync replica (ISR) set
  • Failover when a broker or partition leader goes down
  • Load balancing via partitions spread across brokers and consumer groups
  • Rebalancing when consumers join or leave
asked …
LeaderboardSalaryAccount