This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 0476f6bc2713bbea1cbccab6a883f86cbdbba7f8 Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Feb 3 11:03:23 2025 +0100 Kamelets Catalog - Make the description a one liner - Azure EventHubs Sink Signed-off-by: Andrea Cosentino <[email protected]> --- .../partials/azure-eventhubs-sink-description.adoc | 23 ++++++++++++++++++++++ kamelets/azure-eventhubs-sink.kamelet.yaml | 11 +---------- .../kamelets/azure-eventhubs-sink.kamelet.yaml | 11 +---------- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/docs/modules/ROOT/partials/azure-eventhubs-sink-description.adoc b/docs/modules/ROOT/partials/azure-eventhubs-sink-description.adoc new file mode 100644 index 00000000..4c34253b --- /dev/null +++ b/docs/modules/ROOT/partials/azure-eventhubs-sink-description.adoc @@ -0,0 +1,23 @@ +== Azure Event Hubs Sink Kamelet Description + +=== Authentication methods + +In this Kamelet you have the possibility of using the Azure Identity mechanism or the plain Shared Account Key. Respectively the parameters are `AZURE_IDENTITY` and `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 about this you can look at https://learn.microsoft.com/en-us/java/api/overview/azure/identity-readme[Azure Identity documentation] + +=== Optional Headers + +In the headers, you can optionally set the `partition-id` / `ce-partition-id` property to specify the partition id for a specific item. + +If you do not set the property in the header, Azure Event Hubs will do that for you. diff --git a/kamelets/azure-eventhubs-sink.kamelet.yaml b/kamelets/azure-eventhubs-sink.kamelet.yaml index b56d670b..05904fc6 100644 --- a/kamelets/azure-eventhubs-sink.kamelet.yaml +++ b/kamelets/azure-eventhubs-sink.kamelet.yaml @@ -31,16 +31,7 @@ metadata: spec: definition: title: "Azure Eventhubs Sink" - 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. + description: Send events to Azure Event Hubs. required: - namespaceName - eventhubName diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml index b56d670b..05904fc6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml @@ -31,16 +31,7 @@ metadata: spec: definition: title: "Azure Eventhubs Sink" - 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. + description: Send events to Azure Event Hubs. required: - namespaceName - eventhubName
