You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tom Bentley (Jira)" <ji...@apache.org> on 2023/02/13 15:48:00 UTC

[jira] [Commented] (KAFKA-14710) KRaft cannot initialise storage for valid UUID

    [ https://issues.apache.org/jira/browse/KAFKA-14710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688000#comment-17688000 ] 

Tom Bentley commented on KAFKA-14710:
-------------------------------------

Kafka uses the URL encoded variant of base 64 (see [RFC 4648 §5|https://www.rfc-editor.org/rfc/rfc4648#section-5]), so {{+}} should be replaced with {{-}} and {{/}} should be replaced with {{{}_{}}}.

Probably correcting the documentation to reflect this detail is the right fix since I assume [~jolshan] chose to use the URL encoded version for good reason.

> KRaft cannot initialise storage for valid UUID
> ----------------------------------------------
>
>                 Key: KAFKA-14710
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14710
>             Project: Kafka
>          Issue Type: Bug
>          Components: kraft
>    Affects Versions: 3.4.0
>            Reporter: Tristan Stevens
>            Priority: Major
>
> kafka-storage does not accept base64 UUIDs that include the plus symbol, which is valid base64 and works according to https://www.fileformat.info/tool/guid-base64.htm
>  
> {noformat}
> /opt/kafka//bin/kafka-storage.sh format -t he+xntiAFrY5phFfhV1TFA -c /opt/kafka/config/server.properties
> Cluster ID string he+xntiAFrY5phFfhV1TFA does not appear to be a valid UUID: Illegal base64 character 2b{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)