Has anyone used target-mongodb plugin? How do you create collections in the same db(through meltano) so that I can populate it by data from different taps. Right now, everything gets stored in the main db and it just creates a lot of clutter. TIA
s
Sven Balnojan
11/02/2022, 12:00 PM
Hello @naveen_srinivasa, which target-mongodb are you using right now? There's none on the hub, and I just found one here: https://gitlab.com/hotglue/target-mongodb.
n
naveen_srinivasa
11/02/2022, 1:41 PM
Yes I was referring to this
s
Sven Balnojan
11/02/2022, 2:33 PM
Hm the codebase suggests it creates one collection per stream, isn't it behaving in that way? Or are you expecting something else?
n
naveen_srinivasa
11/03/2022, 10:45 PM
I got the solution, i made a small change where I added another parameter which basically adds a prefix to the collection name. In this way, I can maintain a single database and have multiple collections from different taps.