title: What will happen if my kafka consumer group is changed after each restart
body: <p>Let’s say for instance, my kafka consumer (in Consumer Group 1) is reading messages from Kafka Topic A.</p>
  <p>Now if that consumer consumes 12 messages before failing.<br />
  When the consumer starts up again, and now it has different consumer group (i.e. consumer group 2),
  Question 1 -? On restart, will it continue from where it left off in the offset (or position) because that offset is stored by Kafka and/or ZooKeeper or will it start consuming messages from 1st message.</p>
  <p>Question 2-&gt; Is there a way to ensure that on restart (When consumer has different consumer group), it still start consuming from where it left off before restarting?</p>
  <p>Just to give you the context, i am trying to update in-memory caches in each node/server on receiving a message on kafka topic. In order to do that, i am using a different consumer group for each node/server so that each message is consumed by all the nodes/servers to update in-memory cache. Please let me know if there are better ways to do this. Thanks!</p>