Versions Compared

Key

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

...

A new property — directory.id — will be expected in the meta.properties file in each log directory configured under log.dirsThe property indicates the UUID for the log directory where the file is located. If any of the meta.properties files does not contain directory.id one will be randomly generated and the file will be updated upon Broker startup. The kafka-storage.sh tool will be extended to generate this property as described in the previous section.

If log directory that holds the cluster metadata topic is configured separately to a different path — using metadata.log.dir — then this log directory does not get a UUID assigned. 

Footnote

The broker cannot run if this particular log directory is unavailable, and when configured separately it cannot host any user partitions, so there's no point in identifying it in the Controller.

Reserved UUIDs

The following UUIDs are excluded from the random pool when generating a log directory UUID:

...