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

Allow Source Tasks to Handle Producer Exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0, 2.8.1, 3.0.0
    • 3.2.0
    • connect
    • None

    Description

      KAFKA-8586 added capture of Producer Exceptions which will kill the connector.

      There is a need to allow the connector itself to be aware of these errors, handle it in some manner, and continuing processing records.

      The proposed change is to add a getter to the retry operator and allow producer failure to be ignored via the "errors.tolerance" configuration setting. The connector will receive a callback to commitRecord() with a null MetadataRecord.

      The current behavior is kept if errors.tolerance is not set to all.

       

      see: https://cwiki.apache.org/confluence/display/KAFKA/KIP-779%3A+Allow+Source+Tasks+to+Handle+Producer+Exceptions

      Attachments

        Issue Links

          Activity

            People

              katchison Knowles Atchison Jr
              katchison Knowles Atchison Jr
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: