I'm using Talend Open Studio for Big Data and I'd like to create multiple configurations for a MongoDB connection. What I'm doing for other components (such as PostgreSQL connections) is using context variables. However, the tMongoDBConnection component cannot be fully configured this way, or I'm unaware of the proper way to do it. Specifically, the "Use SSL connection" and the "Authentication" panel rely on checkboxes to be switched on and off (see image below), and I haven't found a way to do it dynamically.
Is there a way to configure these property on an environment-basis as I do using context variables and contexts? If there isn't, is there any other way to dynamically do it at runtime?
A context is characterized by parameters. Do you want to use context value in "Check box"?
Yes, I basically want to switch those check boxes on and off using the value of some context value: e.g.: a boolean true (or a String "true") means "checkbox switched on" and vice versa.
Those check boxes control fundamental aspects of the mongo instance, and it's not trivial to replicate their behaviour in all the environments where the job is meant to be run.
So far, we cannot control "checkbox switched on-off" by using context variable.
I'm having the same problem about the authentication database.
The connection parameters in the component show this :
In the connection creation interface, these options are simply missing :
Is this planned for a future update ?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema