Liam, This is set to default and we have not changed these configurations. So from kafka docs, the default value of linger.ms for producer is 0
On Tue, Apr 5, 2022 at 4:42 AM Liam Clarke-Hutchinson <lclar...@redhat.com> wrote: > 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? > > >