You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Joel Koshy (JIRA)" <ji...@apache.org> on 2012/09/18 02:01:07 UTC

[jira] [Commented] (KAFKA-511) offset returned in Producer response may not be correct

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

Joel Koshy commented on KAFKA-511:
----------------------------------

Returning "next offset" definitely does not seem to make sense.

+1 on the change - although you will need to rebase. Can you rename the ProducerResponseStatus.nextOffset to just offset?
                
> offset returned in Producer response may not be correct
> -------------------------------------------------------
>
>                 Key: KAFKA-511
>                 URL: https://issues.apache.org/jira/browse/KAFKA-511
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Blocker
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-511_v1.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The problems is that we append messages to the log and then get the offset. Another produce request could have sneaked in between the 2 steps.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira