You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2016/09/12 23:36:20 UTC

[jira] [Commented] (CRUNCH-621) Kafka no data to consume could get stuck

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

Josh Wills commented on CRUNCH-621:
-----------------------------------

LG aside from some formatting nits around spacing out the if blocks in the KafkaSource file, e.g., "if(!(inputSplit instanceof KafkaInputSplit)){"

> Kafka no data to consume could get stuck
> ----------------------------------------
>
>                 Key: CRUNCH-621
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-621
>             Project: Crunch
>          Issue Type: Bug
>          Components: IO
>            Reporter: Micah Whitacre
>            Assignee: Micah Whitacre
>         Attachments: CRUNCH-621.patch
>
>
> With the KafkaSource and specifically the KafkaRecordReader, if there is no data to consume from a partition because all data fell off Kafka then we can end up in a situation where the KafkaRecordReader will poll forever as it never gets data to reach its ending offset.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)