You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2015/10/15 19:59:05 UTC
[jira] [Commented] (KAFKA-2654) Avoid calling Consumer.poll(0) in
each iteration
[ https://issues.apache.org/jira/browse/KAFKA-2654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14959303#comment-14959303 ]
Guozhang Wang commented on KAFKA-2654:
--------------------------------------
github PR created: https://github.com/apache/kafka/pull/315
> Avoid calling Consumer.poll(0) in each iteration
> ------------------------------------------------
>
> Key: KAFKA-2654
> URL: https://issues.apache.org/jira/browse/KAFKA-2654
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Guozhang Wang
> Assignee: Yasuhiro Matsuda
> Fix For: 0.9.1
>
>
> Currently we are calling consumer.poll() in each iteration though most time it is poll(0).
> poll(0) itself is not completely free since it involves a bunch of system calls, hence we'd better avoid calling it in each iteration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)