Jakub Scholz created KAFKA-15949:
------------------------------------

             Summary: Improve the KRaft metadata version related messages
                 Key: KAFKA-15949
                 URL: https://issues.apache.org/jira/browse/KAFKA-15949
             Project: Kafka
          Issue Type: Improvement
    Affects Versions: 3.6.0
            Reporter: Jakub Scholz


Various error messages related to KRaft seem to use very different style and 
formatting. Just for example in the {{StorageTool}} Scala class, there are two 
different examples:
 * {{Must specify a valid KRaft metadata version of at least 3.0.}}
 ** Refers to "metadata version"
 ** Refers to the version as 3.0 (although strictly speaking 3.0-IV0 is not 
valid for KRaft)
 * {{SCRAM is only supported in metadataVersion IBP_3_5_IV2 or later.}}
 ** Talks about "metadataVersion"
 ** Refers to "IBP_3_5_IV2" instead of "3.5" or "3.5-IV2"

Other pieces of Kafka code seem to also talk about "metadata.version" for 
example.

For users, it would be nice if the style and formats used were the same 
everywhere. Would it be worth unifying messages like this? If yes, what would 
be the preferred style to use?



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

Reply via email to