[
https://issues.apache.org/jira/browse/KAFKA-19374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hiro resolved KAFKA-19374.
--------------------------
Assignee: Hiro
Resolution: Fixed
> can not format kraft storage with zookeeper mode cluster id that starting
> with "-"
> ----------------------------------------------------------------------------------
>
> Key: KAFKA-19374
> URL: https://issues.apache.org/jira/browse/KAFKA-19374
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 3.9.0
> Reporter: Hiro
> Assignee: Hiro
> Priority: Major
>
> /opt/kafka_2.13-3.9.0/bin/kafka-storage.sh format --cluster-id
> "-1BfAUiJS7ybpjKh7L3Czw"
> I am trying to migrate to kraft form zookeeper mode cluster.
> can not format kraft storage with zookeeper mode cluster id that starting
> with "-"
> I think this problem is similar to this ticket
> https://issues.apache.org/jira/browse/KAFKA-15754
> I got this error
> {code:java}
> usage: kafka-storage format [-h] --config CONFIG --cluster-id CLUSTER_ID
> [--add-scram ADD_SCRAM] [--ignore-formatted] [--release-version
> RELEASE_VERSION] [--feature FEATURE] [--standalone | --no-initial-controllers
> |
> --initial-controllers INITIAL_CONTROLLERS]
> kafka-storage: error: argument --cluster-id/-t: expected one argument
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)