[
https://issues.apache.org/jira/browse/KAFKA-20617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Chen resolved KAFKA-20617.
-------------------------------
Resolution: Not A Problem
> kafka-storage.sh should disallow invalid cluster ids
> ----------------------------------------------------
>
> Key: KAFKA-20617
> URL: https://issues.apache.org/jira/browse/KAFKA-20617
> Project: Kafka
> Issue Type: Improvement
> Reporter: Gaurav Narula
> Assignee: Gaurav Narula
> Priority: Major
> Fix For: 4.4.0
>
>
> {{kafka-storage.sh format}} accepts a {{cluster-id}} argument. While the
> recommendation is that users can generate a random uuid using
> {{kafka-storage.sh random-uuid}} command, the users are free to generate a
> cluster id out of band.
> The {{format}} command should therefore perform validation on the cluster-id
> passed as we risk using one which is invalid. Gotchas can include:
> * Not using URLEncoding when using base64
> * Using base64 encoding with padding
> * Being unlucky and using a reserved UUID
--
This message was sent by Atlassian Jira
(v8.20.10#820010)