is there a way to use copy.existing.pipeline , while trying to access multiple collections ?
following is my connector configuration
``
connector.class=com.mongodb.kafka.connect.MongoSourceConnector
startup.mode=copy_existing
tasks.max=4
startup.mode.copy.existing.namespace.regex=mydb.(mycol1|mycol2)
change.stream.full.document=updateLookup
heartbeat.interval.ms=100000
topic.prefix=test_27
topic.namespace.map={“mydb.mycol1”: “mycol1” , “mydb.mycol2”: “mycol2” }
database=acko
startup.mode.copy.existing.max.threads=2
startup.mode.copy.existing.pipeline=[{ “$match”:{ “ns.coll”: “mycol1” } }]
connection.uri=mongodb://xxxxx:yyyyyy@10.10.10.10:27017
copy.existing=true
value.converter=org.apache.kafka.connect.storage.StringConverter
key.converter=org.apache.kafka.connect.storage.StringConverter
the connector is running , but not pushing any data .
but works prefectly fine , when we remove copy.existing.pipeline config
please help