Please take a look at this answer to a similar recent question:
http://mail-archives.apache.org/mod_mbox/kafka-users/201608.mbox/%3cCAHwHRrUV=M_2T_XjGwkwgZ=3ba+adogro1_ckvvbytarhag...@mail.gmail.com%3e

The config parameter mentioned in the post for expiration of committed 
offsets is "offsets.retention.minutes". (see also here: 
http://stackoverflow.com/questions/39131465/how-does-an-offset-expire-for-an-apache-kafka-consumer-group
)

Regards,
--Vahid



From:   "Cuneo, Nicholas" <ncu...@tycoint.com>
To:     "users@kafka.apache.org" <users@kafka.apache.org>
Date:   10/04/2016 12:04 PM
Subject:        Delete Consumer Group Information



We are using Kafka .9 and are playing around with the consumer group 
feature.  We have a lot of junk and stale consumer group information in 
the consumer groups and want to get rid of it.  What’s the best way to do 
that?
 
Using Kafka Tool, I see that all the consumer groups are stored in ‘Kafka’ 
and not ‘Zookeeper’.  When I go to zookeeper the consumers node is empty.
 
I tried using the ConsumerGroupCommand to delete it but since zookeeper 
shows no consumers this does nothing.  If the consumer groups show only 
being stored in Kafka, are they considered in memory and completely 
restarting all Kafka nodes remove them?  If so – why aren’t they being 
replicated to zookeeper for persistence?


 
Thanks,
 
Nick Cuneo  /  Software Engineer, Cloud  /  Enterprise Software
Tel: +1 949 517 4802  /  Mobile: +1 949 243 4952
3 Ada  /  Irvine, CA 92618  /  USA
ncu...@tycoint.com  /  www.tyco.com



This email (including any attachments) may contain information that is 
private or business confidential. If you received this email in error, 
please delete it from your system without copying it and notify sender by 
reply email so that our records can be corrected
 


This e-mail contains privileged and confidential information intended for 
the use of the addressees named above. If you are not the intended 
recipient of this e-mail, you are hereby notified that you must not 
disseminate, copy or take any action in respect of any information 
contained in it. If you have received this e-mail in error, please notify 
the sender immediately by e-mail and immediately destroy this e-mail and 
its attachments.



Reply via email to