You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "JOHN, BIBIN" <bj...@att.com> on 2020/05/26 04:48:14 UTC

Kafka Timeout Exception

Team,
What happens when producer gets below timeout exception? Is that error saying those records will be ignored and will not send to kafka?


org.apache.kafka.common.errors.TimeoutException: Expiring 22 record(s) for topic1-1: 30215 ms has passed since batch creation plus linger time
org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for topic1-14: 30073 ms has passed since batch creation plus linger time

Re: Kafka Timeout Exception

Posted by "Matthias J. Sax" <mj...@apache.org>.
Correct. The error implies that sending was not successful.

You can retry sending by calling `Producer#send()` again.

If you also increase the corresponding timeouts (`delivery.timeout.ms`).


-Matthias

On 5/26/20 10:27 AM, JOHN, BIBIN wrote:
> 
> Team,
> Could you please help on my below query?
> 
> -----Original Message-----
> From: JOHN, BIBIN <bj...@att.com> 
> Sent: Monday, May 25, 2020 11:48 PM
> To: users@kafka.apache.org
> Subject: Kafka Timeout Exception
> 
> *** Security Advisory: This Message Originated Outside of AT&T ***.
> Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
> 
> Team,
> What happens when producer gets below timeout exception? Is that error saying those records will be ignored and will not send to kafka?
> 
> 
> org.apache.kafka.common.errors.TimeoutException: Expiring 22 record(s) for topic1-1: 30215 ms has passed since batch creation plus linger time
> org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for topic1-14: 30073 ms has passed since batch creation plus linger time
> 


RE: Kafka Timeout Exception

Posted by "JOHN, BIBIN" <bj...@att.com>.
Team,
Could you please help on my below query?

-----Original Message-----
From: JOHN, BIBIN <bj...@att.com> 
Sent: Monday, May 25, 2020 11:48 PM
To: users@kafka.apache.org
Subject: Kafka Timeout Exception

*** Security Advisory: This Message Originated Outside of AT&T ***.
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.

Team,
What happens when producer gets below timeout exception? Is that error saying those records will be ignored and will not send to kafka?


org.apache.kafka.common.errors.TimeoutException: Expiring 22 record(s) for topic1-1: 30215 ms has passed since batch creation plus linger time
org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for topic1-14: 30073 ms has passed since batch creation plus linger time