MahsaSeifikar commented on code in PR #19742:
URL: https://github.com/apache/kafka/pull/19742#discussion_r2167204947


##########
clients/src/main/java/org/apache/kafka/server/quota/ClientQuotaCallback.java:
##########
@@ -106,6 +107,14 @@ public interface ClientQuotaCallback extends Configurable {
      */
     boolean updateClusterMetadata(Cluster cluster);
 
+    /**
+     * Return a set of active client quota entities, which represent the 
quotas currently in effect and applicable.
+     * If the callback does not track active client quotas, it may return an 
empty set.
+     *
+     * @return a set of active client quota entities
+     */
+    Set<ClientQuotaEntity> getActiveQuotasEntities();

Review Comment:
   > This is public API, we cannot change it without a KIP
   
   I see. so I need to change this part! Thanks



-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to