[KAFKA-147] Copying existing namespaces by regex Created: 24/Aug/20  Updated: 28/Oct/23  Resolved: 29/Sep/20

Status: Closed
Project: Kafka Connector
Component/s: Source
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Improvement Priority: Major - P3
Reporter: Andrey B Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

MongoCopyDataManager calls copyDataFrom method for all namespaces in database or databases if collection param is not defined. It is not always a desirable behavior.

I suggest adding followed params to config to define which namespaces should be copied:

copy.existing.namespace.regex - defining from which databases collections should be copied



 Comments   
Comment by Githook User [ 29/Sep/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Added copy existing namespaces by regex configuration (#40)

  • Added copy existing namespaces by regex configuration

KAFKA-147
Co-authored-by: abushmin <diskbu@yandex.ru>
Branch: master
https://github.com/mongodb/mongo-kafka/commit/af537fc9a9663e000ae52a9e7a654932ca18f1f4

Comment by Ross Lawley [ 21/Sep/20 ]

https://github.com/mongodb/mongo-kafka/pull/40

Comment by Andrey B [ 03/Sep/20 ]

Any thoughts?

Generated at Thu Feb 08 09:05:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.