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

KRaft Migration: desanitize entity name when migrate client quotas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.7.0, 3.6.1
    • 3.6.2, 3.8.0, 3.7.1
    • kraft, migration
    • None

    Description

      We observed that our default user quota seems not to be migrated correctly.

      Before Migration:

      bin/kafka-configs.sh --describe --all --entity-type users

      Quota configs for the default user-principal are consumer_byte_rate=1000000.0, producer_byte_rate=1000000.0
      Quota configs for user-principal 'myuser@prod' are consumer_byte_rate=1.5E8, producer_byte_rate=1.5E8

      After Migration:

      bin/kafka-configs.sh --describe --all --entity-type users

      Quota configs for user-principal '' are consumer_byte_rate=1000000.0, producer_byte_rate=1000000.0
      Quota configs for user-principal 'myuser%40prod' are consumer_byte_rate=1.5E8, producer_byte_rate=1.5E8

       

      Additional finding: Our names contains a "@" which also lead to incorrect after migration state.

       

       

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              schmidomin Dominik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: