Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15949

Improve the KRaft metadata version related messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.8.0
    • None
    • None

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              scholzj Jakub Scholz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: