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

Infinite retry timeout is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0
    • connect
    • None

    Description

      The documentation for errors.retry.timeout property says:

      The maximum duration in milliseconds that a failed operation will be reattempted. The default is 0, which means no retries will be attempted. Use -1 for infinite retries.

      But it seems that value -1 is not respected by the RetryWithToleranceOperator that simply compares elapsed time until startTime + errorRetryTimeout is exceeded.

      I was also not able to find any conversion of the raw config value before RetryWithToleranceOperator is initialized.
      I run a simple test with a connector using mocked transformation plugin that throws the RetriableException and it seems to prove my claim.

      I'm not sure if it's documentation or implementation error or maybe I've missed something.

      Attachments

        Issue Links

          Activity

            People

              yash.mayya Yash Mayya
              jmalek Jakub Malek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: