Warning
This component will be available in the Palette of
Talend Studio on the condition that you have subscribed to one of
the Talend
solutions with Big Data.
|
Component family |
Big Data / MongoDB |
|
|
Function |
tMongoDBConnection opens a |
|
|
Purpose |
This component allows you to create a connection to a MongoDB |
|
|
Basic settings |
DB Version |
List of the database versions. |
|
Use replica set address |
Select this check box to show the Replica In the Replica address table, you |
|
|
|
Server and Port |
IP address and listening port of the database server. Available when the Use replica set |
|
|
Database |
Name of the database. |
|
Use SSL connection |
Select this check box to enable the SSL encrypted connection. Then you need to use the tSetKeystore component in the For further information about tSetKeystore, see tSetKeystore. Note that the SSL connection is available only for the version 2.4 + of MongoDB. |
|
|
Set read preference |
Select this check box and from the Read preference If you leave this check box clear, the Job reads the default member of the replica For further information, see MongoDB’s documentation about Replication and its Read |
|
|
|
Required authentication |
Select this check box to enable the database |
|
|
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the Available when the Required |
|
Advanced settings |
tStatCatcher Statistics |
Select this check box to collect the log data at a component |
|
Global Variables |
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
|
Usage |
This component is generally used with other MongoDB components, |
|
|
Log4j |
The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html. |
|
|
Limitation |
n/a |
|
For a related scenario, see Scenario 1: Creating a collection and writing data to it.