You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2011/08/18 18:04:27 UTC

[jira] [Commented] (KAFKA-110) Bug in the collate logic of the DefaultEventHandler dispatches empty list of messages using the producer

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

Jun Rao commented on KAFKA-110:
-------------------------------

+1 (please remove unreferenced imports before checking in)

> Bug in the collate logic of the DefaultEventHandler dispatches empty list of messages using the producer
> --------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-110
>                 URL: https://issues.apache.org/jira/browse/KAFKA-110
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.7
>            Reporter: Neha Narkhede
>         Attachments: KAFKA-110.patch
>
>
> The collate logic in the DefaultEventHandler is designed to batch together requests for a single topic and partition in order to send it to the server in a single request. In this collate logic, the use of the partition API might give back an empty sequence of data for a particular topic,partition pair. It is useless to add it to the list of data to be sent, and it should avoid making network requests.

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