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

Richard Park commented on KAFKA-131:
------------------------------------

Just one thing's missing.
On line 201 (of original file):
_offset += msgAndOffset.offset();

That's incorrect. The msgAndOffset returns the offset, not the offset 
increment. So it should be:
_offset = msgAndOffset.offset();


> Hadoop Consumer goes into an infinite loop when  kafka.request.limit is set 
> to -1
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-131
>                 URL: https://issues.apache.org/jira/browse/KAFKA-131
>             Project: Kafka
>          Issue Type: Bug
>          Components: contrib
>    Affects Versions: 0.7
>            Reporter: Sam William
>              Labels: patch
>             Fix For: 0.7
>
>         Attachments: KAFKA-131.patch
>
>
> There is a bug in  KafkaETLContext.java  where in a new Iterator instance is 
> being created every time. This causes endless loops.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to