@ClientQuotaManagerConfig quota configs
@Metrics Metrics instance
API Key for the request
@Time object to use
Reaper thread that triggers callbacks on all throttled requests
Returns the quota for the specified clientId
Records that a clientId changed some metric being throttled (produced/consumed bytes, QPS etc.)
Records that a clientId changed some metric being throttled (produced/consumed bytes, QPS etc.)
clientId that produced the data
amount of data written in bytes
Callback function. This will be triggered immediately if quota is not violated. If there is a quota violation, this callback will be triggered after a delay
Number of milliseconds to delay the response in case of Quota violation. Zero otherwise
Overrides quotas per clientId
Overrides quotas per clientId
client to override
custom quota to apply
Helper class that records per-client metrics. It is also responsible for maintaining Quota usage statistics for all clients.