Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Zookeeper listeners ONLY on the leader

  1. Replica-change listener:
    1. child change on /brokers/topics (new topic registered)
    2. Wiki Markup
      child change on /brokers/topics/\[topic\] (new partition registered)
      Wiki Markup
      value change on /brokers/topics/\[topic\]/\[partition_id\]/replicas (new replica assigned)
  2. Partition-reassigned listener:
    1. child change on /brokers/partitions_reassigned
    2. Wiki Markup
      child change on /brokers/partitions_reassigned/\[topic\]

...

  1. Wiki Markup
    Leader-change listener: value change on /brokers/topics/\[topic\]/\[partition_id\]/leader
  2. Wiki Markup
    State-change listener: child change on /brokers/state/\[broker_id\]
  3. Topic-change listener:
    1. child change on /brokers/topics (new topic registered)
    2. Wiki Markup
      child change on /brokers/topics/\[topic\] (new partition registered)

Configuration parameters

  1. LeaderElectionWaitTime: controls the maximum amount of time that we wait during leader election.
  2. KeepInSyncTime: controls the maximum amount of time that a leader waits before dropping a follower from the in-sync replica set.

...