kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ismael Juma <isma...@gmail.com>
Subject Re: Kafka producer throw "TimeoutException: Batch Expired" when consumer begin to read data
Date Wed, 05 Dec 2018 14:34:01 GMT
This is likely the issue fixed by KIP-91. You'll get the right behaviour if
you upgrade to 2.1 or you can increase the request timeout.


On Tue, Dec 4, 2018, 10:12 PM JF Chen <darouwan@gmail.com wrote:

> I have a system keep sending data to kafka continuously, and a spark
> streaming application reading these data from kafka every 5 minutes
> However, I found the kafka producer throws "TimeoutException: Batch
> Expired" error when sparking streaming begin to read the kafka every 5
> minutes.
> What's the reason for this? And how to solve this problem?
> Regard,
> Junfeng Chen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message