title: Apache Kafka Consumer Election
body: <p>Lets say we have two consumers for a topic with one partition. At first, first consumes messages from the topic and second remains idle. If first fails, second takes over and starts consuming the messages.</p>
  <p>When the first again comes alive, will it again start consuming messages and make the second idle?</p>
  <p>How to achieve this?</p>