Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8711

Connector errors.max.retries is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Beta1
    • None
    • mysql-connector
    • None

       

      Bug report

      When a retriable exception happens in the connector, the connector restarts and resets the number of retries to 0. This causes infinite restarts in the connector.

      What Debezium connector do you use and what version?

      3.1.0-snapshot(latest)

      What is the connector configuration?

      MySQL connector

       

      `"errors.max.retries": "10"`

      What is the captured database version and mode of deployment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      MySQL 8

      What behavior do you expect?

      Connector should fail after the number of max retries is exceeded. Given that this number is provided.

      What behavior do you see?

      Infinite restarts.

      Do you see the same behaviour using the latest released Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      Yes.

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      Yes, error log attached.

      How to reproduce the issue using our tutorial deployment?

      Cause a retriable exception to reproduce

        1. error.log
          75 kB
          Ahmed Bayraktar

              Unassigned Unassigned
              ahmed.bayraktar Ahmed Bayraktar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: