kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Yu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KAFKA-5212) Consumer ListOffsets request can starve group heartbeats
Date Mon, 23 Oct 2017 02:41:00 GMT

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

Richard Yu edited comment on KAFKA-5212 at 10/23/17 2:40 AM:
-------------------------------------------------------------

There appears to be an infinite loop in the code (skippingHeartbeats). As time progresses
towards endTime, the prepareHeartbeatResponse() method will always return a false.



was (Author: yohan123):
There appears to be an infinite loop in the code (skippingHeartbeats). 

> 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
>            Assignee: Richard Yu
>             Fix For: 1.1.0, 1.0.1
>
>         Attachments: 5212.patch
>
>
> 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)

Mime
View raw message