Cosmos DB
Azure Cosmos DB is a cloud-based NoSQL database service and vector database developed by Microsoft.
You can read from Cosmos DB as follows, and write to any Striim target that can accept a JSONNodeEvent input stream. Typically, you will set up data pipelines that read from Cosmos DB in two phases—initial load, followed by continuous replication—as described in Building pipelines from Cosmos DB.
Cosmos DB feature summary
Feature | Using Cosmos DB Reader | Using Mongo Cosmos DB Reader |
|---|---|---|
Supported versions | ||
Cosmos DB API for NoSQL (formerly Core (SQL) API) | ✓ | |
Cosmos DB API for Mongo DB versions 3.6, 4.0, and 4.2 - request unit database account | ✓ | |
Cosmos DB API for Mongo DB version 3.2 - request unit database account | initial load only | |
Cosmos DB API for Mongo DB - vCore cluster | ||
Security and governance | ||
SSL | ✓ | ✓ |
connection profile | ||
Operations | ||
initial load | ✓ | ✓ |
initial schema creation | ||
schema evolution | ||
DML operations replicable in target | INSERT, UPDATE (if target supports upsert / merge), DELETE (if soft delete enabled) | INSERT, UPDATE, DELETE (if enabled) |
Building applications / programmability | ||
automated pipelines | ||
other wizards | initial load only, change data capture only | initial load only, change data capture only |
Flow Designer | ✓ | ✓ |
TQL | ✓ | ✓ |
Runtime | ||
event type of output stream | JSONNodeEvent | JSONNodeEvent |
network connection fault tolerance | configurable automatic retries | configurable automatic retries |
recovery | A1P in incremental mode | A1P in incremental mode |
parallel threads | via threadpool | via threadpool |
metrics & auditing | ✓ | ✓ |