You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (Updated) (JIRA)" <ji...@apache.org> on 2012/03/14 19:40:39 UTC

[jira] [Updated] (KAFKA-304) Simple Consumer message set behavior broken on 0.8 branch

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

Neha Narkhede updated KAFKA-304:
--------------------------------

    Attachment: kafka-240-bug.patch

The test creates a topic new-topic with partitions on one broker. The producer sends 2 messages to one partition on that broker. The file message set on that broker returns 2 messages, but simple consumer pulling from the same broker returns only 1 message.
                
> Simple Consumer message set behavior broken on 0.8 branch
> ---------------------------------------------------------
>
>                 Key: KAFKA-304
>                 URL: https://issues.apache.org/jira/browse/KAFKA-304
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Prashanth Menon
>            Priority: Critical
>
> The testZKSendWithDeadBroker() test commented out in ProducerTest actually exposes a bug with path KAFKA-240. It seems that even when the broker has some messages for a topic partition, the simple consumer doesn't return those.
> I've simplified this test and attached a diff to this bug. Apply it on 0.8 branch to reproduce this. 

--
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