[GitHub] [kafka] junrao commented on a change in pull request #9114: KAFKA-10162; Use Token Bucket algorithm for controller mutation quota (KIP-599, Part III)

2020-08-05 Thread GitBox
junrao commented on a change in pull request #9114: URL: https://github.com/apache/kafka/pull/9114#discussion_r465989800 ## File path: clients/src/main/java/org/apache/kafka/common/metrics/stats/TokenBucket.java ## @@ -0,0 +1,101 @@ +/* + * Licensed to the Apache Software Foun

[GitHub] [kafka] junrao commented on a change in pull request #9114: KAFKA-10162; Use Token Bucket algorithm for controller mutation quota (KIP-599, Part III)

2020-08-05 Thread GitBox
junrao commented on a change in pull request #9114: URL: https://github.com/apache/kafka/pull/9114#discussion_r465921001 ## File path: clients/src/test/java/org/apache/kafka/common/metrics/TokenBucketTest.java ## @@ -0,0 +1,93 @@ +/* + * Licensed to the Apache Software Foundat

[GitHub] [kafka] junrao commented on a change in pull request #9114: KAFKA-10162; Use Token Bucket algorithm for controller mutation quota (KIP-599, Part III)

2020-08-04 Thread GitBox
junrao commented on a change in pull request #9114: URL: https://github.com/apache/kafka/pull/9114#discussion_r465310710 ## File path: clients/src/main/java/org/apache/kafka/common/metrics/stats/TokenBucket.java ## @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Found

[GitHub] [kafka] junrao commented on a change in pull request #9114: KAFKA-10162; Use Token Bucket algorithm for controller mutation quota (KIP-599, Part III)

2020-08-03 Thread GitBox
junrao commented on a change in pull request #9114: URL: https://github.com/apache/kafka/pull/9114#discussion_r464724281 ## File path: clients/src/main/java/org/apache/kafka/common/metrics/stats/TokenBucket.java ## @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Found