tAmazonDocumentDBOutput Standard properties
These properties are used to configure tAmazonDocumentDBOutput running in the Standard Job framework.
The Standard tAmazonDocumentDBOutput component belongs to the Cloud family.
Talend Studio is compatible with Amazon DocumentDB 3.6 version.
The component in this framework is available in all Talend products with Big Data and in Talend Data Fabric.
Basic settings
Property Type |
Select the way the connection details will be set.
|
Use an existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. |
Schema and Edit Schema |
A schema is a row description, and it defines the fields to be processed and passed on to the next component.
Click Edit schema to make changes to the schema. If you make changes, the schema automatically becomes built-in. |
Address type |
Select the address type from the drop-down list:
|
Host and Port |
Enter the IP address and listening port of the database server. These fields are available when the Use existing connection or Use replica set address check box are not selected. These parameters are only available when you select the Standalone from the Address type drop-down list. |
Database |
Enter the name of the Amazon DocumentDB database. This parameter is only available when you select the Standalone from the Address type drop-down list. |
Need auth |
Select this check box to enable the database authentication. Among the mechanisms listed on the Auth mechanism drop-down list, select either Negotiate, which is recommended because it automatically select the most adapted authentication mechanism, or SCRAM-SHA-1 SASL, or SCRAM-SHA-256. Select the Use auth database check box to enter the name of the authentication database in which the username to be used to connect to Amazon DocumentDB has been created and enter the database user authentication data in the Username and Password fields. To enter the password, click the [...] button
next to the Password field to bring out the Enter a new
password dialog box, enter the password in the text field, and click
OK. Note that you can enter the password either in a JSON string
in the pure password mode or as a Java expression in the Java
mode. You can toggle between the two modes by clicking switch to
Java mode or switch to pure password mode on the top
of the text field.
Information noteNote:
|
Use SSL connection |
Select this check box to enable the SSL or TLS encrypted connection. Then you need to use the tSetKeystore component in the same Job to specify the encryption information. |
Collection |
Enter the name of the collection in the Amazon DocumentDB database. |
Mode |
Select the type of target data to write between JSON and Text. |
Set write concern |
Select this check box to set the level of acknowledgment requested for write operations from the Write concern drop-down list. |
Bulk write |
Select this check box to insert, update, or remove data in bulk. |
Data action |
The following operations are available:
|
Advanced settings
tStatCatcher Statistics |
Select this check box to collect the log data at the component level. |
Max batch size |
Set the maximum number of lines allowed in each batch. Do not change the default value unless you are facing performance issues. Increasing the batch size can improve the performance but a value too high could cause Job failures. |
Connection parameter | Specify additional connection properties for the Amazon DocumentDB connection you are creating. |
Global Variables
ERROR_MESSAGE |
The error message generated by the component when an error occurs. This is an After variable and it returns a string. |
NB_LINE |
The number of rows processed. This is an After variable and it returns an integer. |
Usage
Usage rule |
tAmazonDocumentDBOutput executes the action defined on the collection in the Amazon DocumentDB database based on the flow incoming from the preceding component in the Job. |