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

setting order during snapshot for collection.include.list for mongo db. This is important for getting the master table data populated before the dependent tables

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Mongo Debezium Connector - 
      2.2.0.Final

      What is the connector configuration?

      return Configuration.create()

      // engine properties

      .with("name", "sbd-mongodb").with("connector.class", "io.debezium.connector.mongodb.MongoDbConnector")

      .with("offset.storage", "org.apache.kafka.connect.storage.FileOffsetBackingStore")

      .with("offset.storage.file.filename", offsetFileLocation)

      .with("offset.flush.interval.ms", offsetInterval)

      // connector specific properties

      .with("mongodb.connection.string", dataSourceUrl).with("topic.prefix", "sbd-mongodb-connector")

      .with("mongodb.user", dataSourceUsername).with("mongodb.password", dataSourcePassword)

      .with("mongodb.ssl.enabled", "false") // default false

      // .with("database.include.list", "pulse_data")

      .with("collection.include.list", collectionList)

      .with("key.converter", "org.apache.kafka.connect.json.JsonConverter")

      .with("key.converter.schemas.enable", "false")

      .with("value.converter", "org.apache.kafka.connect.json.JsonConverter")

      .with("value.converter.schemas.enable", "false").with("snapshot.mode", "initial")

      .with("skipped.operations", "d").with("snapshot.delay.ms", "100")

      .with("errors.log.include.messages", "true").build();

      What is the captured database version and mode of depoyment?

      On Prem as a embedded library with Spring Boot 

      What behaviour do you expect?

      Snapshotting should be as per configured order for collection list

      What behaviour do you see?

      Snapshotting is not in the order given in the property

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

      Not Sure about it

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

      Yes

      How to reproduce the issue using our tutorial deployment?

      configure collection.include.list 

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

              Unassigned Unassigned
              yvnagendrababu@gmail.com Y.V.Nagendra Babu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: