Hi Pushkar, Could be a lot of things. What's your linger.ms configured for?
Cheers, Liam On Tue, 5 Apr 2022 at 05:39, Pushkar Deole <pdeole2...@gmail.com> wrote: > Hi All, > > We are intermittently seeing KafkaProducerException. The nested exception > is as below: > > org.springframework.kafka.core.KafkaProducerException: Failed to send; > nested exception is org.apache.kafka.common.errors.TimeoutException: > Expiring 10 record(s) for analytics.mpe.passthrough-0:120000 ms has passed > since batch creation\n\tat > org.springframework.kafka.core.KafkaTemplate.lambda$buildCallback$4( > KafkaTemplate.java:602 <http://kafkatemplate.java:602/>) > > Kafka version is 2.5 > Can someone give some ideas as to what would cause this and how can this be > resolved? >