Hi Team,

Of late I am facing strange issue w.r.t Kafka. Random times I keep on getting 
these strange errors while consuming the topic:


kafka.common.OffsetOutOfRangeException: Request for offset 19 but we only have 
log segments in the range 0 to 0.
Sometimes I get like this:


kafka.common.OffsetOutOfRangeException: Request for offset 19 but we only have 
log segments in the range 19 to 22.

That number keeps on changing (with random ranges). I don't know what is the 
problem here. Both producer and consumer will work perfectly, but I keep on 
getting these errors randomly. In that situation if I clear the logs, remove 
the broker again it starts working fine again.

Can anyone please help me in this regard? This is affecting our application 
stability, if any more information required I can provide, also we are using 
only the defaults provided by the kafka we didn't changed any settings.

Thanks,
Pradeep Simha
Technical Lead

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to