camel-azure-eventhubs-sink-kafka-connector sink configuration

Connector Description: Send events to Azure Event Hubs. The Kamelet checks for the `partition-id` / `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition. A header is optional. If the header is not set, the partition is assigned by Event Hubs. There are two different mechanism of authentication `CONNECTION_STRING` and `AZURE_IDENTITY`, you could specify with credentialType property. If you’re using `CONNECTION_STRING` sharedAccessName and sharedAccessKey properties 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-eventhubs-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-azure-eventhubs-sink-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

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

connector.class=org.apache.camel.kafkaconnector.azureeventhubssink.CamelAzureeventhubssinkSinkConnector

The camel-azure-eventhubs-sink sink connector supports 5 options, which are listed below.

Name Description Default Priority

camel.kamelet.azure-eventhubs-sink.namespaceName

Required The Event Hubs namespace.

HIGH

camel.kamelet.azure-eventhubs-sink.eventhubName

Required The Event Hub name.

HIGH

camel.kamelet.azure-eventhubs-sink.sharedAccessName

The Event Hubs SAS key name.

MEDIUM

camel.kamelet.azure-eventhubs-sink.sharedAccessKey

The key for the Event Hubs SAS key name.

MEDIUM

camel.kamelet.azure-eventhubs-sink.credentialType

Determines the credential strategy to adopt.

"CONNECTION_STRING"

MEDIUM

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

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

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