title: Is it possible to kill a consumer from the Kafka server?
body: <p>When I check for consumer lag, it shows that a particular <code>consumer-id</code> is running from a particular host consuming from a topic.
  But when I go to that host there is no such consumer running.</p>
  
  <p>How do I kill this <code>consumer-id</code>, so that I can reset consumer offset for the group that its part of.</p>
  
  <pre><code>Kafka server version: 0.11.0.1
  
  Kafka client version(stuck): 0.10.0.2
  </code></pre>
  
  <p>This <code>consumer-id</code> got stuck in the first place as it was not able to consume messages because of some messages having headers in Kafka.</p>
  
  <p>I've already tried the following:</p>
  
  <ol>
  <li>Consuming from a different host and different Kafka version, it consumes messages but the consumer-id, host does not change.</li>
  <li>Restarting <code>kafka</code> broker which is the leader for that topic.</li>
  <li>Changing security groups to prevent the host from connecting to my broker.</li>
  </ol>