camel-azure-cosmosdb-sink-kafka-connector sink configuration

Connector Description: Send Data to an Azure CosmosDB instance In the headers, you can optionally set the `itemPartitionKey` / `ce-itemPartitionKey` property to specify the partition key for a specific item. If you do not set the property in the header, you’ll need to use the static property itemPartitonKey. There are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you’re using `SHARED_ACCOUNT_KEY` accountKey property will be needed. In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell.

When using camel-azure-cosmosdb-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

  <!-- use the same version as your Camel Kafka connector version -->

To use this sink connector in Kafka connect you’ll need to set the following connector.class


The camel-azure-cosmosdb-sink sink connector supports 6 options, which are listed below.

Name Description Default Priority

Required The Azure Cosmos database name.


Required The Azure Cosmos container name.


The Azure Cosmos account Key.


Required Sets the Azure Cosmos database endpoint the component will connect to.


Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the item is stored in.


Determines the credential strategy to adopt.



The camel-azure-cosmosdb-sink sink connector has no converters out of the box.

The camel-azure-cosmosdb-sink sink connector has no transforms out of the box.

The camel-azure-cosmosdb-sink sink connector has no aggregation strategies out of the box.