title: Getting GroupNotEmptyException when trying to delete a consumer group in Kafka
body: <p>I executed</p>
  <pre><code>&quot;kafka-consumer-groups --bootstrap-server localhost:9092 --list&quot; 
  </code></pre>
  <p>and this results in one group being displayed: console-consumer-961</p>
  <p>I then tried to delete this group:</p>
  <pre><code>kafka-consumer-groups --bootstrap-server localhost:9092 --delete --group console-consumer-961
  </code></pre>
  <p>But this results in an exception:</p>
  <pre><code>Error: Deletion of some consumer groups failed:
  * Group 'console-consumer-961' could not be deleted due to: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.GroupNotEmptyException: The group is not empty.
  </code></pre>
  <p>I guess this group was created when I ran kafka-<code>console-consumer.bat</code>, but now this consumer is not running. How can I delete this consumer group?</p>