I have multiple consumer groups each having 1 consumer.
Say, Topic T1 and Partition P1 and 2 consumer group CG1 and CG2 CG1 has 1 consumer - CG1#C1 and correspondingly CG2 has CG2#C1
Now we are receiving the same message across multiple consumer groups which is expected as per design.
My question is how Kafka maintains the offset across multiple consumer groups. If 1 consumer group is down for few minutes and agian it is backed up then how it will get the message from the last committed read. CG1 is in offset 24 and CG2' before going down committed till offset 10. so when CG2 is up how it will start getting from offset 11 and CG1 is not impacted.