Occasionally, the kafka-storage random-uuid command outputs a - prefixed string, which causes the kafka-storage format command to fail. An example of this (which we recently saw in CI) was the string -f_5rGTAQYmTztSSUAVNuQ.
Solution
The --cluster-id flag doesn't have the same limitations w/respect to dash-prefixed cluster ids as -t does, so use that.
Problem
Occasionally, the
kafka-storage random-uuid
command outputs a-
prefixed string, which causes thekafka-storage format
command to fail. An example of this (which we recently saw in CI) was the string-f_5rGTAQYmTztSSUAVNuQ
.Solution
The
--cluster-id
flag doesn't have the same limitations w/respect to dash-prefixed cluster ids as-t
does, so use that.