Jan Pansky
08/06/2024, 7:43 PMconfig:
mongo:
host: mongodb+srv://<cluster>:<pass>@<cluster>.oji0mra.mongodb.net/?retryWrites=true&w=majority&appName=<cluster>
port: 27017
username: username
password: password
I tried more variants with no luck. I could not find a proper example of the setting.
I can reach it from Python or shell, but unable from this Meltano conf.
Thank you for any help.Matt Menzenski
08/06/2024, 7:48 PMmongodb_connection_string
config property. With the config you’ve provided it might look like this:
config:
mongodb_connection_string: mongodb+srv://<user>:<pass>@<cluster>.<http://oji0mra.mongodb.net:27017/?retryWrites=true&w=majority&appName=<cluster|oji0mra.mongodb.net:27017/?retryWrites=true&w=majority&appName=<cluster>>
Jan Pansky
08/06/2024, 7:53 PMmongo:
host: <cluster>.<http://oji0mra.mongodb.net|oji0mra.mongodb.net>
port: 27017
username: <user>
password: <pass>
Matt Menzenski
08/06/2024, 7:55 PMmeltanolabs
variant of tap-mongodb has never supported that configuration format. It’s only ever used the connection string form.
The z3z1ma
variant (which is the default one in the meltano hub) does support that format, though: https://github.com/z3z1ma/tap-mongodb/blob/main/meltano.yml#L63-L72 - is that what you are after?Jan Pansky
08/06/2024, 7:57 PMJan Pansky
08/06/2024, 8:01 PMJan Pansky
08/07/2024, 12:14 PMben_theunissen
08/07/2024, 3:04 PMMatt Menzenski
08/09/2024, 4:26 PMMatt Menzenski
08/09/2024, 4:28 PMben_theunissen
08/09/2024, 8:00 PMben_theunissen
09/12/2024, 7:40 PMMatt Menzenski
09/12/2024, 10:33 PMben_theunissen
09/13/2024, 6:34 PM