You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/06/12 19:57:00 UTC

[jira] [Resolved] (KAFKA-8483) Possible reordering of messages by producer after UNKNOWN_PRODUCER_ID error

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

Jason Gustafson resolved KAFKA-8483.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

> Possible reordering of messages by producer after UNKNOWN_PRODUCER_ID error
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-8483
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8483
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Major
>             Fix For: 2.3.0
>
>
> The idempotent producer attempts to detect spurious UNKNOWN_PRODUCER_ID errors and handle them by reassigning sequence numbers to the inflight batches. The inflight batches are tracked in a PriorityQueue. The problem is that the reassignment of sequence numbers depends on the iteration order of PriorityQueue, which does not guarantee any ordering. So this can result in sequence numbers being assigned in the wrong order.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)