Azure Eventhubs Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Send events to Azure Event Hubs.
Configuration Options
The following table summarizes the configuration options available for the azure-eventhubs-sink Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
Eventhubs Name | Required The Event Hub name. | string | |||
Eventhubs Namespace | Required The Event Hubs namespace. | string | |||
Credential Type | Determines the credential strategy to adopt. Enum values: * CONNECTION_STRING * AZURE_IDENTITY | string | CONNECTION_STRING | ||
Share Access Key | The key for the Event Hubs SAS key name. | string | |||
Share Access Name | The Event Hubs SAS key name. | string |
Dependencies
At runtime, the azure-eventhubs-sink Kamelet relies upon the presence of the following dependencies:
-
camel:core
-
camel:azure-eventhubs
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:azure-eventhubs-sink" You can now run it directly through the following command
camel run route.yaml Azure Event Hubs Sink Kamelet Description
Authentication methods
In this Kamelet, you can use these Azure authentication methods:
-
Azure Identity mechanism:
AZURE_IDENTITY -
Connection string:
CONNECTION_STRING
The order of evaluation for AZURE_IDENTITY is the following:
-
Enviroment
-
Workload Identity
-
Managed Identity
-
Azure Developer CLI
-
IntelliJ
-
Azure CLI
-
Azure Powershell
For more information, see the Azure Identity documentation