[
https://issues.apache.org/jira/browse/KAFKA-4739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861745#comment-15861745
]
Sagar Sadashiv Patwardhan commented on KAFKA-4739:
--------------------------------------------------
[~hachikuji] [~huxi_2b] Thanks for getting back to us. We really appreciate
your help! :)
It is interesting to see that between L151 and L178 of
https://gist.github.com/neoeahit/3a0a5027bc3499b85cb888918faac2a3 kafka client
does not send any requests to the broker. We get successful heartbeat responses
from the coordinator, but we still timeout for some reason after ~40
secs(default request.timeout.ms). I have not read the client code in detail(may
be I should), but if the heartbeats are successful, then why are we timing out?
Also, the request timeout is 500 msec per documentation, so how is this timeout
related to request.timeout.ms(40 secs).
> KafkaConsumer poll going into an infinite loop
> ----------------------------------------------
>
> Key: KAFKA-4739
> URL: https://issues.apache.org/jira/browse/KAFKA-4739
> Project: Kafka
> Issue Type: Bug
> Components: consumer
> Affects Versions: 0.9.0.1
> Reporter: Vipul Singh
>
> We are seeing an issue with our kafka consumer where it seems to go into an
> infinite loop while polling, trying to fetch data from kafka. We are seeing
> the heartbeat requests on the broker from the consumer, but nothing else from
> the kafka consumer.
> We enabled debug level logging on the consumer, and see these logs:
> https://gist.github.com/neoeahit/757bff7acdea62656f065f4dcb8974b4
> And this just goes on. The way we have been able to replicate this issue, is
> by restarting the process in multiple successions.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)