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

io.debezium.engine.spi.OffsetCommitPolicy.PeriodicCommitOffsetPolicy can't be initiated due to NoSuchMethod error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 1.2.1.Final
    • 1.2.0.Final
    • embedded-engine
    • None

      Description

      Using the new Debezium APIs to create the embedded engine, passing in the configuration offset.commit.policy with value of io.debezium.engine.spi.OffsetCommitPolicy.PeriodicCommitOffsetPolicy will produce NoSuchMethod due to missing a constructor of type io.debezium.config.Configuration. Because the OffsetCommitPolicy will be initiated with config of type io.debezium.config.Configuration not type Properties as shown here as would io.debezium.engine.spi.OffsetCommitPolicy.PeriodicCommitOffsetPolicy expects.

       

              omarsmak@gmail.com Omar Al-Safi (Inactive)
              omarsmak@gmail.com Omar Al-Safi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: