You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/05/11 22:09:44 UTC
[GitHub] [kafka] afireinside09 commented on pull request #8658: KAFKA-9980: Fix bug where alterClientQuotas could not set default client quotas
afireinside09 commented on PR #8658:
URL: https://github.com/apache/kafka/pull/8658#issuecomment-1124340583
Sorry for resurrecting an old thread but I'm still experiencing this in Kafka 2.6.2 with Java kafka-clients 2.6.2.
```
ClientQuotaEntity clientEntity;
if (clientId.equals(ConfigEntityName.Default())) {
clientEntity = new ClientQuotaEntity(Map.of(ClientQuotaEntity.CLIENT_ID, null));
} else {
clientEntity = new ClientQuotaEntity(Map.of(ClientQuotaEntity.CLIENT_ID, clientId));
}
```
What am I missing here so that the `<default>` string doesn't get sanitized when the entity name gets written to Zookeeper?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org