With Kafka client Java library, consuming logs has worked for some time but with the following errors it doesn\'t work any more:
2016-07-15 19:37:54.609 INFO 43
I just faced the same issue. I have been investigating, and in this thread and in this wiki you can find the solution.
The issue seems to be that the processing of a batch takes longer than the session timeout. Either increase the session timeout or the polling frequency or limit the number of bytes received.
What worked for me was changing max.partition.fetch.bytes
. But you can also modify session.timeout.ms
or the value you pass to your consumer.poll(TIMEOUT)