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

Details

    Description

      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.

       

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: