title: How to manage expiration of Kafka Groups
body: <p>I was trying to reset a consumer configuration by deleting it and letting my script recreate it later but I hit an error about new consumers not being deletable.</p>
  
  <pre><code>kafka@kafka-0:~$ ./bin/kafka-consumer-groups.sh --bootstrap kafka-0:9092 --delete --group etl
  Option '[delete]' is only valid with '[zookeeper]'. Note that there's no need to delete group metadata for the new consumer as the group is deleted when the last committed offset for that group expires.
  </code></pre>
  
  <p>Now I'm wondering, what's the name of the consumer config option which controls the expiration from this error message?</p>