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

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

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

Boyang Chen resolved KAFKA-10813.
---------------------------------
    Resolution: Fixed

> 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
>            Assignee: Boyang Chen
>            Priority: Blocker
>             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)