Skip to content

Optimizing Kafka Stretch Clusters: Tackling Leader Election Instability with Submariner, Istio, and Cilium #14

Answered by aswinayyolath
ghostroot007 asked this question in Q&A
Discussion options

You must be logged in to vote

Hope below stuff answers your question ..

Root Causes

  • Submariner relies on IPsec or WireGuard tunnels, and excessive latency between clusters can slow Raft leader election.
  • Kafka's controller quorum requires a majority to elect a leader, and if inter-cluster communication is slow, leader re-election can become unstable.
  • If controller.quorum.voters is not optimally distributed across clusters, it may lead to uneven voting power and split-brain scenarios.
  • If the Submariner Gateway nodes are under heavy load, packet drops or delayed responses can impact Kafka's leader election.

Optimizations for Kafka & Submariner

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghostroot007
Comment options

Answer selected by ghostroot007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants