[
https://issues.apache.org/jira/browse/KAFKA-16222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823675#comment-17823675
]
PoAn Yang commented on KAFKA-16222:
-----------------------------------
I can reproduce the error. I will look into code tomorrow. Thanks.
{noformat}
> docker run -it --rm --network mykafka-zookeeper_default bitnami/kafka:3.6
> kafka-configs.sh --describe --all --entity-type users --bootstrap-server
> kafka-0:9092
kafka 15:19:03.20 INFO ==>
kafka 15:19:03.20 INFO ==> Welcome to the Bitnami kafka container
kafka 15:19:03.20 INFO ==> Subscribe to project updates by watching
https://github.com/bitnami/containers
kafka 15:19:03.20 INFO ==> Submit issues and feature requests at
https://github.com/bitnami/containers/issues
kafka 15:19:03.20 INFO ==>
Quota configs for user-principal 'myuser%40prod' are consumer_byte_rate=2048.0,
request_percentage=200.0, producer_byte_rate=1024.0{noformat}
> KRaft Migration: Incorrect default user-principal quota after migration
> -----------------------------------------------------------------------
>
> Key: KAFKA-16222
> URL: https://issues.apache.org/jira/browse/KAFKA-16222
> Project: Kafka
> Issue Type: Bug
> Components: kraft, migration
> Affects Versions: 3.7.0, 3.6.1
> Reporter: Dominik
> Assignee: PoAn Yang
> Priority: Blocker
>
> 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 {color:#172b4d}'myuser{*}@{*}prod'{color}
> 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 {color:#172b4d}'myuser{*}%40{*}prod'{color}
> 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.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)