This connector is available as a built-in connector on StreamNative Cloud.
Prerequisites
- An Azure Cosmos DB account with a database and container.
- The Cosmos DB endpoint URI (
connect.cosmos.connection.endpoint). - The Cosmos DB primary key (
connect.cosmos.master.key).
Quick Start
- Setup the kcctl client: doc
-
Create a JSON file like the following:
-
Run the following command to create the connector:
Configuration
Configure the Azure Cosmos DB sink connector with the following properties:Supported Data Formats
The sink connector supports the following data formats:Supported Data Types
Azure Cosmos DB sink connector converts SinkRecord into JSON Document supporting the following schema types:
For full details, see the Azure Cosmos DB sink connector documentation