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

ASF GitHub Bot commented on KAFKA-5464:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/3439


> StreamsKafkaClient should not use StreamsConfig.POLL_MS_CONFIG
> --------------------------------------------------------------
>
>                 Key: KAFKA-5464
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5464
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.1, 0.11.0.0
>            Reporter: Matthias J. Sax
>            Assignee: Matthias J. Sax
>             Fix For: 0.10.2.2, 0.11.0.1, 0.11.1.0
>
>
> In {{StreamsKafkaClient}} we use an {{NetworkClient}} internally and call 
> {{poll}} using {{StreamsConfig.POLL_MS_CONFIG}} as timeout.
> However, {{StreamsConfig.POLL_MS_CONFIG}} is solely meant to be applied to 
> {{KafkaConsumer.poll()}} and it's incorrect to use it for the 
> {{NetworkClient}}. If the config is increased, this can lead to a infinite 
> rebalance and rebalance on the client side is increased and thus, the client 
> is not able to meet broker enforced timeouts anymore.



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

Reply via email to