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 2021/11/08 13:51:49 UTC

[GitHub] [kafka] flysen edited a comment on pull request #11454: KAFKA-13341: Quotas are not applied to requests with null clientId

flysen edited a comment on pull request #11454:
URL: https://github.com/apache/kafka/pull/11454#issuecomment-963164070


   @dongjinleekr Ill follow up to this with our findings. Not 100% sure it's relevant. When `/config/clients/<default>` exist no new JMX metrics for `kafka.server:type=Produce,user=xx` will be populated, only `kafka.server:type=Request,client-id=producer-NNNN` 
   How to reproduce: 
   ```
   # Create a default clients quota 
   kafka-configs.sh --zookeeper zk-1.net --alter --entity-type clients --entity-default --add-config producer_byte_rate=1000
   # Confirm created
   kafka-configs.sh --zookeeper zk-1.net --describe --entity-type clients --entity-default
   --> Configs for default client-id are producer_byte_rate=1000
   # Check ZK
   ls /config/clients --> [<default>]
   get /config/clients/<default> --> {"version":1,"config":{"producer_byte_rate":"1000"}}
   # Delete default quota for client
   kafka-configs.sh --zookeeper zk-1.net --alter --entity-type clients --entity-default --delete-config producer_byte_rate
   # Confirm deleted
   kafka-configs.sh --zookeeper zk-1.net --describe --entity-type clients --entity-default
   --> Configs for default client-id are
   # Check ZK
   ls /config/clients --> [<default>]
   get /config/clients/<default> --> {"version":1,"config":{}}
   ```
   Now no sensors will be created for users until `/config/clients/<default>` is deleted
   ```
   delete /config/clients/<default>
   ```
   


-- 
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