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

mongo-source-connector config database.include.list does not work

XMLWordPrintable

      image: debezium/connect:1.8

      curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" localhost:8083/connectors/ -d '{
      "name": "mongo-connector-1",
      "config": {
      "connector.class": "io.debezium.connector.mongodb.MongoDbConnector",
      "database.include.list" : "dbA,dbB",
      "mongodb.hosts": "rs0/******{_}*:27017*{_}",
      "[mongodb.name|http://mongodb.name/]": "mongo_1",
      "mongodb.user": "****",
      "mongodb.password":"{*}*{*}*"
      }
      }'
      

      database.include.list is honored in snapshot phase but ignored in streaming phase.

            jpechane Jiri Pechanec
            kenyonz ken yon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: