Jason Gustafson created KAFKA-14215:
---------------------------------------

             Summary: KRaft forwarded requests have no quota enforcement
                 Key: KAFKA-14215
                 URL: https://issues.apache.org/jira/browse/KAFKA-14215
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


On the broker, the `BrokerMetadataPublisher` is responsible for propagating 
quota changes from `ClientQuota` records to `ClientQuotaManager`. On the 
controller, there is no similar logic, so no client quotas are enforced on the 
controller.

On the broker side, there is no enforcement as well since the broker assumes 
that the controller will be the one to do it. Basically it looks at the 
throttle time returned in the response from the controller. If it is 0, then 
the response is sent immediately without any throttling. 

So the consequence of both of these issues is that controller-bound requests 
have no throttling today.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to