kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JF Chen <darou...@gmail.com>
Subject Kafka producer throw "TimeoutException: Batch Expired" when consumer begin to read data
Date Wed, 05 Dec 2018 06:12:26 GMT
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

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