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

Enhance Transactional Producer Exception Handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0, 2.6.0, 2.7.0
    • None
    • producer , streams

    Description

      In general, KafkaProducer could throw both fatal and non-fatal errors as KafkaException, which makes the exception catching hard. Furthermore, not every single fatal exception (checked) is marked on the function signature yet as of 2.7.

      We should have a general supporting strategy in long term for this matter, as whether to declare all non-fatal exceptions as wrapped KafkaException while extracting all fatal ones, or just add a flag to KafkaException indicating fatal or not, to maintain binary compatibility.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bchen225242 Boyang Chen
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: