kafka-storage.sh: format and inspect the log directories of a KRaft node
kafka-storage.sh {info,format,version-mapping,feature-dependencies,random-uuid} ...
Gotchas
- Format a new node with the cluster's id (kafka-cluster.sh cluster-id), as the user the broker runs as.
- A broker needs none of --standalone / --initial-controllers / --no-initial-controllers.
Taught in
Try kafka-storage.sh in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.