Kirk True created KAFKA-14335:
---------------------------------

             Summary: Admin.listConsumerGroups should allow filtering, 
pagination
                 Key: KAFKA-14335
                 URL: https://issues.apache.org/jira/browse/KAFKA-14335
             Project: Kafka
          Issue Type: Improvement
          Components: admin, clients, protocol
    Affects Versions: 3.3.0
            Reporter: Kirk True
            Assignee: Kirk True


The 
[`Admin.listConsumerGroups`|https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/admin/Admin.html#listConsumerGroups--]
 is the interface for clients to view the consumer groups in the cluster. When 
the list of consumer groups becomes very large, it can cause problems for the 
client (e.g., OOM errors) as well as overhead for the broker and network.

The proposal is to enhance the 
[`ListConsumerGroupsOptions`]([https://kafka.apache.org/33/javadoc/org/apache/kafka/clients/admin/ListConsumerGroupsOptions.html)]
 class to have optional values such as:
 * Consumer group ID regex (evaluated on broker)
 * Pagination token (consumer group ID, probably)

This will require a KIP since it is enhancing the admin API, protocol, and 
broker.



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

Reply via email to