Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10813

StreamsProducer should catch InvalidProducerEpoch and throw TaskMigrated in all cases

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              bchen225242 Boyang Chen
              Reporter:
              bchen225242 Boyang Chen

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment