...
The format
sub-command in the the kafka-storage.sh
tool already supports formatting more than one log directory — by expecting a list of configured log.dirs
— and "formatting" only the ones that need so. When multiple log.dirs
are configured, a new A new property will be included in meta.properties
— directory.id
— which will identify each log directory with a UUID. The UUID is randomly generated for each log directory.
meta.properties
When multiple log.dirs
are configured, a A new property — — directory.id
— will be expected in the meta.properties
file in each log directory configured under log.dirs
. The 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.
...
Name | Description | Default | Valid Values | Priority |
---|---|---|---|---|
| If the broker is unable to successfully communicate to the controller that some log directory has failed for longer than this time, and there's at least one partition with leadership on that directory, the broker will fail and shut down. | 30000 (30 seconds) | [1, …] | low |
...