Versions Compared

Key

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

...

Two new configuration options will be introduced — cluster.id and auto.storage.format. When both options are present, during startup in a KRaft broker, the storage directories are “formatted” if necessary. The operation is mostly equivalent of the following command is run at startup:

scriptsbin/kafka-storage.sh format \
--cluster-id <cluster.id> \
--config <broker.properties> \
--ignore-formatted

...