Hi, Rajini,

Thanks for the KIP. Looks good overall. A few comments below.

10. "If <user> quota config is used, *user* tag is set to user principal of
the session and *client-id* tag is set to empty string. " Could we just
omit such a tag if the value is empty?

11. I think Viktor has a valid point on handling partition removal.
Currently, we use -2 as the leader to signal the deletion of a partition.
Not sure if we want to depend on that in the interface since it's an
internal value.

12. Could you explain a bit more the need for quotaLimit()? This is called
after the updateQuota() call. Could we just let updateQuota do what
quotaLimit()
does?

Jun

On Wed, Feb 21, 2018 at 10:57 AM, Rajini Sivaram <rajinisiva...@gmail.com>
wrote:

> Hi all,
>
> I have submitted KIP-257 to enable customisation of client quota
> computation:
>
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-
> 257+-+Configurable+Quota+Management
>
>
> The KIP proposes to make quota management pluggable to enable group-based
> and partition-based quotas for clients.
>
> Feedback and suggestions are welcome.
>
> Thank you...
>
> Regards,
>
> Rajini
>

Reply via email to