cp-all-in-one icon indicating copy to clipboard operation
cp-all-in-one copied to clipboard

use --cluster-id flag to accommodate 'kafka-storage random-uuid' output that's dash-prefixed

Open laser opened this issue 1 year ago • 0 comments

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.

laser avatar Aug 30 '22 00:08 laser