kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-241) ConsumerIterator throws a IllegalStateException after a ConsumerTimeout occurs
Date Thu, 19 Jan 2012 00:50:39 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jun Rao updated KAFKA-241:
--------------------------

    Fix Version/s: 0.7.1
         Assignee: Jun Rao
           Status: Patch Available  (was: Open)

Added a unit test that exposes the bug and a fix.
                
> ConsumerIterator throws a IllegalStateException after a ConsumerTimeout occurs
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-241
>                 URL: https://issues.apache.org/jira/browse/KAFKA-241
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.7
>            Reporter: Patricio Echague
>            Assignee: Jun Rao
>              Labels: newbie
>             Fix For: 0.7.1
>
>         Attachments: consumerIteratorTestCase.java, kafka-241.patch
>
>
> Please find the test case attached.
> After a timeout occurs (property consumer.timeout.ms > 0 ) the consumerIterator throws
an IllegalStateException.
> The work around seems to be to recreate the MessageStream an issue a new Iterator.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message