AzureCosmosDBConnectionService
Implementation: AzureCosmosDBClientService
If configured, the controller service used to obtain the connection string and access key | Cosmos DB URI | azure-cosmos-db-uri | | | Cosmos DB URI, typically in the form of https://{databaseaccount}.documents.azure.com:443/ Note this host URL is for Cosmos DB with Core SQL API from Azure Portal (Overview->URI) Sensitive Property: true |
Cosmos DB Access Key | azure-cosmos-db-key | | | Cosmos DB Access Key from Azure Portal (Settings->Keys). Choose a read-write key to enable database or container creation at run time Sensitive Property: true |
Cosmos DB Consistency Level | azure-cosmos-db-consistency-level | SESSION | - STRONG
- BOUNDED_STALENESS
- SESSION
- CONSISTENT_PREFIX
- EVENTUAL
| Choose from five consistency levels on the consistency spectrum. Refer to Cosmos DB documentation for their differences |
Cosmos DB Name | azure-cosmos-db-name | | | The database name or id. This is used as the namespace for document collections or containers |
Cosmos DB Container ID | azure-cosmos-db-container-id | | | The unique identifier for the container |
Cosmos DB Partition Key | azure-cosmos-db-partition-key | | | The partition key used to distribute data among servers |
Record Reader | record-reader | | Controller Service API: RecordReaderFactory Implementations: CEFReader SyslogReader ReaderLookup ProtobufReader Syslog5424Reader CSVReader GrokReader WindowsEventLogReader ScriptedReader AvroReader ParquetReader JsonPathReader ExcelReader JsonTreeReader YamlTreeReader XMLReader | Specifies the Controller Service to use for parsing incoming data and determining the data's schema |
Insert Batch Size | insert-batch-size | 20 | | The number of records to group together for one single insert operation against Cosmos DB |
Cosmos DB Conflict Handling Strategy | azure-cosmos-db-conflict-handling-strategy | Ignore | - Ignore
- Upsert
| Choose whether to ignore or upsert when conflict error occurs during insertion |
Relationships:
Name | Description |
---|
success | All FlowFiles that are written to Cosmos DB are routed to this relationship |
failure | All FlowFiles that cannot be written to Cosmos DB are routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
None specified.State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
Resource | Description |
---|
MEMORY | An instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance. |