cp-all-in-one
cp-all-in-one copied to clipboard
use --cluster-id flag to accommodate 'kafka-storage random-uuid' output that's dash-prefixed
Problem
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.