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

Generify RetryWithToleranceOperator and ErrorReporter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0
    • connect
    • None

    Description

      The RetryWithToleranceOperator and ErrorReporter instances in connect are only ever used with a single type of ProcessingContext (ProcessingContext<SourceRecord> for sources, ProcessingContext<ConsumerRecord<byte[], byte[]>> for sinks) and currently dynamically decide between these with instanceof checks.

      Instead, these classes should be generic, and have their implementations accept consistent ProcessingContext<T> objects.

      Attachments

        Issue Links

          Activity

            People

              gharris1727 Greg Harris
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: