Versions Compared

Key

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

...

When a broker first starts up, before it has received any responses from the controller, it will always "win" broker ID conflicts.  However, once it has communicated with the controller, it may lose subsequent conflicts if its broker epoch is stale.  (See KIP-380 for some background on broker epoch.)  The reason for favoring new processes is to accommodate the common case where a process is killed with kill -9 and then restarted.  We want it to be able to reclaim its old ID quickly in this case.

...