tCosmosDBOutput
based on the incoming flow from the preceding component in the Job.
tCosmosDBOutput Standard properties
These properties are used to configure tCosmosDBOutput running in the Standard Job framework.
The Standard
tCosmosDBOutput component belongs to
the Cloud and the Databases families.
The component in this framework is available when you are using one of the Talend solutions with Big Data.
Basic settings
Use existing connection |
Select this check box and in the Component |
||||
API |
Select the database API to be used. Then the corresponding parameters to be defined are displayed in the Component view. In the current version of this component, only the MongoDB API is supported. For this reason, MongoDB database is often mentioned in the documentation of the CosmosDB components. |
||||
Use replica set address or multiple query routers |
Select this check box to show the Server In the Server addresses |
||||
Server and Port |
Enter the IP address and listening port of the database Available when the Use replica set |
||||
Database |
Enter the name of the MongoDB database to be connected to. |
||||
Set write concern |
Select this check box to set the level of acknowledgement requested from for write For further information, see the related MongoDB documentation on http://docs.mongodb.org/manual/core/write-concern/. |
||||
Bulk write |
Select this check box to insert, update or remove data in bulk. Note this feature is available only when the version of MongoDB you are using is 2.6+. Then you need to select Ordered or Unordered to define how the MongoDB database processes the data
sent by the Studio.
In the Bulk write size field, enter the size of each |
||||
Authentication mechanism |
Among the mechanisms listed on the Authentication mechanism For details about the other mechanisms in this list, see MongoDB Authentication from the MongoDB |
||||
Set Authentication database |
If the username to be used to connect to MongoDB has been created in a specific For further information about the MongoDB Authentication database, see User Authentication database. |
||||
Username and Password |
DB user authentication data. To enter the password, click the […] button next to the Available when the Use If the security system you have selected from the Authentication mechanism drop-down list is Kerberos, you need to |
||||
Collection |
Name of the collection in the database. |
||||
Drop collection if exist |
Select this check box to drop the collection if it already |
||||
Action on data |
The following operations are available:
|
||||
Schema and Edit |
A schema is a row description. It defines the number of fields (columns) to Click Edit schema to make changes to the schema.
Click Sync columns to retrieve the |
||||
|
Built-In: You create and store the |
||||
|
Repository: You have already created When the schema to be reused has default values that are integers or You can find more details about how to verify default |
||||
Mapping |
Each column of the schema defined for this component represents a field of the documents For example, in the document reading as
follows
The first and the last fields have person as their parent node but the _id field does not have any parent node. So once completed, this Mapping table should read as follows:
Not available when the Generate JSON |
||||
Die on error |
This check box is cleared by default, meaning to skip the row on error |
Advanced settings
Generate JSON Document |
Select this check box for JSON configuration:
Configure JSON Tree: click the
Group by: click the [+] button to add lines and choose the input
Remove root node: select this check
Data node and Query node (available for update and upsert actions): These nodes are mandatory for update and upsert actions. They are |
No query timeout |
Select this check box to prevent MongoDB servers from stopping idle A cursor for MongoDB is a pointer to the result set of a query. By |
tStatCatcher Statistics |
Select this check box to collect the log data at the component |
Usage
Usage rule |
tCosmosDBOutput executes the action |
Limitation |
|