You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Junyang Liu (Jira)" <ji...@apache.org> on 2022/10/07 19:01:00 UTC

[jira] [Created] (KAFKA-14285) Delete quota node in zookeeper when configs are empty

Junyang Liu created KAFKA-14285:
-----------------------------------

             Summary: Delete quota node in zookeeper when configs are empty
                 Key: KAFKA-14285
                 URL: https://issues.apache.org/jira/browse/KAFKA-14285
             Project: Kafka
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.3.1, 2.7.2
            Reporter: Junyang Liu


When configuring flow control quota for users and clients, Kafka will add a child node to /config/users or /config/clients in zookeeper. When deleting a flow control quota config, the existing node in zookeeper will not be deleted even if the configs in the node are empty. So if a client repeatedly configure and delete flow control quota for different users and clients, the node in zookeeper will increase continuously, which may leads to severe problems such as memory leak.



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