You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2020/12/05 00:31:00 UTC

[jira] [Created] (KAFKA-10813) StreamsProducer should catch InvalidProducerEpoch and throw TaskMigrated in all cases

Boyang Chen created KAFKA-10813:
-----------------------------------

             Summary: StreamsProducer should catch InvalidProducerEpoch and throw TaskMigrated in all cases
                 Key: KAFKA-10813
                 URL: https://issues.apache.org/jira/browse/KAFKA-10813
             Project: Kafka
          Issue Type: Bug
            Reporter: Boyang Chen
             Fix For: 2.7.0


We fixed the error code handling on producer in https://issues.apache.org/jira/browse/KAFKA-10687, however the newly thrown `InvalidProducerEpoch` exception was not properly handled on Streams side in all cases. We should catch it and rethrow as TaskMigrated to trigger exception, similar to ProducerFenced.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)