This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch azure-storage-queue-source in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 801fdab8366e3a4f64825030bdff5c0df96d30fe Author: Andrea Cosentino <[email protected]> AuthorDate: Mon Jun 7 09:01:56 2021 +0200 Added Azure Storage Queue Source Kamelet --- .../images/kamelets/azure-storage-queue-source.svg | 1 + .../ROOT/pages/azure-storage-queue-source.adoc | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-source.svg b/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-source.svg new file mode 100644 index 0000000..3d7400f --- /dev/null +++ b/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-source.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 91 81" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#A" x=".5" y=".5"/><symbol id="A" overflow="visible"><path d="M70.053 34.634H50.58l9.736 7.805zm-39.42 10.488c-.238 0-.475 0-.713-.244l-9.024-7.317v11.951h20.66V37.317l-9.736 7.561c-.475.244-.95.244-1.187.244zm29.683 0c-.238 0-.713 0-.713-.244l-9.261-7.317v11.951h20.66V37.317l-9 [...] \ No newline at end of file diff --git a/docs/modules/ROOT/pages/azure-storage-queue-source.adoc b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc new file mode 100644 index 0000000..40d61ca --- /dev/null +++ b/docs/modules/ROOT/pages/azure-storage-queue-source.adoc @@ -0,0 +1,67 @@ +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT += image:kamelets/azure-storage-queue-source.svg[] Azure Storage Queue Source + +*Provided by: "Apache Software Foundation"* + +*Support Level for this Kamelet is: "Preview"* + +Receive Messages from Azure Storage queues. + +== Configuration Options + +The following table summarizes the configuration options available for the `azure-storage-queue-source` Kamelet: +[width="100%",cols="2,^2,3,^2,^2,^3",options="header"] +|=== +| Property| Name| Description| Type| Default| Example +| *accessKey {empty}* *| Access Key| The Azure Storage Queue access Key.| string| | +| *accountName {empty}* *| Account Name| The Azure Storage Queue account name.| string| | +| *queueName {empty}* *| Queue Name| The Azure Storage Queue container name.| string| | +| maxMessages| Maximum Messages| Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.| int| `1`| +|=== + +NOTE: Fields marked with ({empty}*) are mandatory. + +== Usage + +This section summarizes how the `azure-storage-queue-source` can be used in various contexts. + +=== Knative Source + +The `azure-storage-queue-source` Kamelet can be used as Knative source by binding it to a Knative object. + +.azure-storage-queue-source-binding.yaml +[source,yaml] +---- +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: azure-storage-queue-source-binding +spec: + source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: azure-storage-queue-source + properties: + accessKey: "The Access Key" + accountName: "The Account Name" + queueName: "The Queue Name" + sink: + ref: + kind: InMemoryChannel + apiVersion: messaging.knative.dev/v1 + name: mychannel + +---- + +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. + +Save the `azure-storage-queue-source-binding.yaml` file into your hard drive, then configure it according to your needs. + +You can run the source using the following command: + +[source,shell] +---- +kubectl apply -f azure-storage-queue-source-binding.yaml +---- +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
