kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gustafson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8483) Possible reordering of messages by producer after UNKNOWN_PRODUCER_ID error
Date Tue, 04 Jun 2019 22:53:00 GMT
Jason Gustafson created KAFKA-8483:
--------------------------------------

             Summary: 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


The 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)

Mime
View raw message