[ 
https://issues.apache.org/jira/browse/KAFKA-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116953#comment-16116953
 ] 

Jason Gustafson commented on KAFKA-5212:
----------------------------------------

[~evis] The fetcher and the heartbeat share the same network client, so when 
we're blocked in {{poll}} inside {{Fetcher}}, the heartbeat thread can't send 
any heartbeats. In retrospect, we probably should have given the heartbeat 
thread its own network client, but sharing made its initial implementation a 
bit simpler. For now, maybe we just need to ensure that 
{{sendListOffsetRequest}} takes the heartbeat thread into account when setting 
its poll timeout.

> Consumer ListOffsets request can starve group heartbeats
> --------------------------------------------------------
>
>                 Key: KAFKA-5212
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5212
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>            Reporter: Jason Gustafson
>             Fix For: 1.0.0
>
>
> The consumer is not able to send heartbeats while it is awaiting a 
> ListOffsets response. Typically this is not a problem because ListOffsets 
> requests are handled quickly, but in the worst case if the request takes 
> longer than the session timeout, the consumer will fall out of the group.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to