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

Adding additional-conditions into Incremental Snapshot to MongoDB

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 2.7.0.Alpha1
    • None
    • mongodb-connector
    • None
    • False
    • None
    • False

      Hi Team,

      We're asking for additional features for Incremental Snapshot in Connectors MongoDB.

      Bug report

      What Debezium connector do you use and what version?

      Debezium Server 2.4.0.Final

      What is the connector configuration?

       

      debezium.format.value=json
      debezium.source.connector.class=io.debezium.connector.mongodb.MongoDbConnector
      debezium.source.database.history=io.debezium.relational.history.FileDatabaseHistory
      debezium.source.tasks.max=1
      debezium.source.topic.prefix=cdc
      debezium.source.topic.heartbeat.prefix=cdc
      debezium.source.mongodb.connection.string=mongodb://cdc:cdc@mongodb:27017/inventory?replicaSet=rs0&authSource=admin debezium.source.database.include.list=inventory
      debezium.source.collection.include.list=inventory.customers
      debezium.source.signal.data.collection=inventory.debezium_signal

      What is the captured database version and mode of deployment?

      MongoDB: 6

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

      Yes

      How to reproduce the issue using our tutorial deployment?

      • Execute debezium_signal with additional-conditions
      • Insert 2 records, where the 1st record has _id (int), and the 2nd one is _id (ObjectId). Do an incremental snapshot and you will only get one instead of two records.

      Feature request or enhancement

      Solving this issue will require us to enable additional-conditions, since we could snapshot based on the data types.

            anmohant Anisha Mohanty
            ericpangiawan Eric Pangiawan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: