All Questions
Kafka medium

What is the primary operational risk of setting `unclean.leader.election.enable=true` on a critical production cluster?

  1. A The entire cluster will become stuck in a permanent 'Restart' loop.
  2. B Data Loss: If all in-sync replicas are unavailable, an out-of-sync replica (which is behind on data) can be promoted to Leader, effectively overwriting or deleting any newer messages that hadn't been copied to it.
  3. C The cluster will stop accepting any Consumer connections, even if the Leader is healthy.
  4. D It forces all Producers to use `acks=0` regardless of their client configuration.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions