You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Rakshith Mamidala (Jira)" <ji...@apache.org> on 2020/02/10 14:40:00 UTC

[jira] [Created] (KAFKA-9532) Deleting the consumer group programatically using RESTFul API

Rakshith  Mamidala created KAFKA-9532:
-----------------------------------------

             Summary: Deleting the consumer group programatically using RESTFul API
                 Key: KAFKA-9532
                 URL: https://issues.apache.org/jira/browse/KAFKA-9532
             Project: Kafka
          Issue Type: Wish
          Components: clients
    Affects Versions: 2.4.0
            Reporter: Rakshith  Mamidala
             Fix For: 2.4.0


As a requirement in project, instead of listening the messages and consuming / storing message data into database, we are creating the consumer groups run time per user (to avoid thread safe issue) and using consumer.poll and consumer.seekToBeginning and once read all the messages we are closing the connection, unsubscribing consumer group. 

 

Whats happening in Kafka is, the consumer groups moved from active state to DEAD state but not getting removed / deleted, in Kafka Tools it shows all the consumers even if those are DEAD.

 

*What we want:*
 # How to remove / delete the consumer groups programatically.
 # Is there any REST Endpoint / command line / script to delete the consumer groups? What are those.
 # What impact the DEAD consumer groups can creates in terms of production environment.?

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)