Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CCC7BB27 for ; Thu, 19 Jan 2012 00:51:04 +0000 (UTC) Received: (qmail 21773 invoked by uid 500); 19 Jan 2012 00:51:04 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 21683 invoked by uid 500); 19 Jan 2012 00:51:03 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 21594 invoked by uid 99); 19 Jan 2012 00:51:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 00:51:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 00:51:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EAF3F152049 for ; Thu, 19 Jan 2012 00:50:39 +0000 (UTC) Date: Thu, 19 Jan 2012 00:50:39 +0000 (UTC) From: "Jun Rao (Updated) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <1412537839.54644.1326934239963.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1240321874.12716.1325811339469.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (KAFKA-241) ConsumerIterator throws a IllegalStateException after a ConsumerTimeout occurs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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