You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/06/03 07:38:04 UTC

[jira] [Commented] (KAFKA-5347) OutOfSequence error should be fatal

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

Ismael Juma commented on KAFKA-5347:
------------------------------------

[~apurva] [~hachikuji] This issue has no "Fix version". Is it something for 0.11.0.0, 0.11.0.1 or 0.11.1.0?

> OutOfSequence error should be fatal
> -----------------------------------
>
>                 Key: KAFKA-5347
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5347
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Jason Gustafson
>            Assignee: Apurva Mehta
>              Labels: exactly-once
>
> If the producer sees an OutOfSequence error for a given partition, we currently treat it as an abortable error. This makes some sense because OutOfSequence won't prevent us from being able to send the EndTxn to abort the transaction. The problem is that the producer, even after aborting, still won't be able to send to the topic with an OutOfSequence. One way to deal with this is to ask the user to call {{initTransactions()}} again to bump the epoch, but this is a bit difficult to explain and could be dangerous since it renders zombie checking less effective. Probably we should just consider OutOfSequence fatal for the transactional producer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)