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

WorkerSourceTask is not enforcing the errors.retry.timeout and errors.retry.delay.max.ms parameters in case of a RetriableException during task.poll()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.0
    • None
    • connect
    • None

    Description

      It seems that the errors.retry.timeout timeout is not enforced if RetriableException is thrown in the poll() of a SourceTask.

      Looking at Kafka Connect source code:

       

      This implies that, if the poll() is throwing a RetriableException:

      • errors.retry.timeout is ignored and the task will retry indefinitely
      • there would be no delay between each retry, errors.retry.delay.max.ms is ignored, causing potential high resource utilization and log flooding

       

      My understanding of https://cwiki.apache.org/confluence/display/KAFKA/KIP-298%3A+Error+Handling+in+Connect is that errors.retry.timeout and errors.retry.delay.max.ms should have been respected in case of a RetriableException during a Source Task poll()

      Attachments

        Issue Links

          Activity

            People

              sagarrao Sagar Rao
              Dabz Damien Gasparina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: