Azure Cosmos DB properties
Properties to configure to connect to an Azure Cosmos DB table.
Cosmos DB connection
Select Cosmos DB in the list and configure the connection.
Configuration
Select your engine from the list and set the main and advanced settings.
Property | Configuration |
---|---|
URI | Enter the URI of your Azure Cosmos DB account. The expected format is the following: https://<your_account>.documents.azure.com:433 For more information, read the Azure documentation on URI syntax. |
Primary key | Enter the primary key used to access your Azure Cosmos DB account. can be found in your Azure Cosmos DB account under . |
Database ID | Enter the name of the database you have created in your Azure Cosmos DB account. |
Property | Configuration |
---|---|
Connection mode | Specifies the connection mode to be used. Two options are available: Active and DirectHttps. Read the Azure documentation on ConnectionMode for more information. |
Max connection pool size | Sets the upper limit on the number of open files and so the total number of authorized connections. The default value is 1000. |
Consistency level | Defines the level of the consistency model, from strongest to weakest. Read the Azure documentation on Consistency levels for more information. |
After configuring the connection, give it a display name (mandatory) and a description (optional).
Cosmos DB dataset
Property | Configuration | |
---|---|---|
Dataset name | Enter a display name for the dataset. This name will be used as a unique identifier of the dataset in all Talend Cloud apps. | |
Connection | Select your connection in the list. If you are creating a dataset based on an existing connection, this field is read-only. |
Property | Configuration |
---|---|
Collection ID | Enter the identifier of your Azure Cosmos DB collection. |
Use query | Select this option to retrieve data using query statements. You can enter the query statement in the Query field. |
Additional JDBC parameters might be displayed depending on whether the connector is used as a source or destination dataset, read the JDBC parameters section to know more about these parameters.