You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2025/02/03 11:28:40 UTC
(camel-kamelets) 02/09: Kamelets Catalog - Make the description a one liner - Azure EventHubs Source
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 2345-con-3
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 47000b396ef9714f02e3783fd5dfce585eb7afd0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 3 10:58:46 2025 +0100
Kamelets Catalog - Make the description a one liner - Azure EventHubs Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../partials/azure-eventhubs-source-description.adoc | 17 +++++++++++++++++
kamelets/azure-eventhubs-source.kamelet.yaml | 7 +------
.../kamelets/azure-eventhubs-source.kamelet.yaml | 7 +------
3 files changed, 19 insertions(+), 12 deletions(-)
diff --git a/docs/modules/ROOT/partials/azure-eventhubs-source-description.adoc b/docs/modules/ROOT/partials/azure-eventhubs-source-description.adoc
new file mode 100644
index 00000000..7fb65679
--- /dev/null
+++ b/docs/modules/ROOT/partials/azure-eventhubs-source-description.adoc
@@ -0,0 +1,17 @@
+== Azure Event Hubs Source 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]
diff --git a/kamelets/azure-eventhubs-source.kamelet.yaml b/kamelets/azure-eventhubs-source.kamelet.yaml
index acf993f4..5aba17aa 100644
--- a/kamelets/azure-eventhubs-source.kamelet.yaml
+++ b/kamelets/azure-eventhubs-source.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "Azure Eventhubs Source"
- description: |-
- Receive events from Azure 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: Receive events from Azure Event Hubs.
required:
- namespaceName
- eventhubName
diff --git a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
index acf993f4..5aba17aa 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
@@ -31,12 +31,7 @@ metadata:
spec:
definition:
title: "Azure Eventhubs Source"
- description: |-
- Receive events from Azure 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: Receive events from Azure Event Hubs.
required:
- namespaceName
- eventhubName