[ https://issues.apache.org/jira/browse/KAFKA-1255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898775#comment-13898775 ]
Jay Kreps commented on KAFKA-1255: ---------------------------------- I looked into this and the offset is indeed being set incorrectly on the server if acks=-1, basically we pass the final offset into the response for delayed requests (which is just wrong I think). I will take a pass at fixing, should be straight-forward. > Offset in RecordMetadata is Incorrect with New Producer Ack = -1 > ---------------------------------------------------------------- > > Key: KAFKA-1255 > URL: https://issues.apache.org/jira/browse/KAFKA-1255 > Project: Kafka > Issue Type: Bug > Reporter: Guozhang Wang > Assignee: Jay Kreps > Fix For: 0.9.0 > > Attachments: sendwithAckMinusOne, sendwithAckOne > > > With the new producer's integration test, one observation is that when > producer ack = -1, the returned offset is incorrect. > Output files with two scenarios (send 100 messages with ack = 1 and -1) > attached. -- This message was sent by Atlassian JIRA (v6.1.5#6160)