You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Omnia Ibrahim (Jira)" <ji...@apache.org> on 2026/08/21 12:06:05 UTC
[jira] [Updated] (KAFKA-20617) kafka-storage.sh should disallow invalid cluster ids
[ https://issues.apache.org/jira/browse/KAFKA-20617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Omnia Ibrahim updated KAFKA-20617:
----------------------------------
Fix Version/s: (was: 4.4.0)
> 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
>
> {{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)