This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit bd81e9d81560cd52cc0563bcf66f70ab60f86920 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Apr 14 14:49:10 2021 +0200 Added Azure Storage Queue Sink Kamelet --- .../images/kamelets/azure-storage-queue-sink.svg | 1 + .../ROOT/pages/azure-storage-queue-sink.adoc | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-sink.svg b/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-sink.svg new file mode 100644 index 0000000..3d7400f --- /dev/null +++ b/docs/modules/ROOT/assets/images/kamelets/azure-storage-queue-sink.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-sink.adoc b/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc new file mode 100644 index 0000000..1bca7e6 --- /dev/null +++ b/docs/modules/ROOT/pages/azure-storage-queue-sink.adoc @@ -0,0 +1,70 @@ +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT += image:kamelets/azure-storage-queue-sink.svg[] Azure Storage Queue Sink + +*Provided by: "Apache Software Foundation"* + +Send Messages to Azure Storage queues. + +The Kamelet is able to understand the following headers to be set: + +- `expiration` / `ce-expiration`: as the time to live of the message in the queue. + +If the header won't be set the default of 7 days will be used. + +== Configuration Options + +The following table summarizes the configuration options available for the `azure-storage-queue-sink` 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| | +|=== + +NOTE: Fields marked with ({empty}*) are mandatory. + +== Usage + +This section summarizes how the `azure-storage-queue-sink` can be used in various contexts. + +=== Knative Sink + +The `azure-storage-queue-sink` Kamelet can be used as Knative sink by binding it to a Knative object. + +.azure-storage-queue-sink-binding.yaml +[source,yaml] +---- +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: azure-storage-queue-sink-binding +spec: + source: + ref: + kind: InMemoryChannel + apiVersion: messaging.knative.dev/v1 + name: mychannel + sink: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: azure-storage-queue-sink + properties: + accessKey: "The Access Key" + accountName: "The Account Name" + queueName: "The Queue Name" + +---- + +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-sink-binding.yaml` file into your hard drive, then configure it according to your needs. + +You can run the sink using the following command: + +[source,shell] +---- +kubectl apply -f azure-storage-queue-sink-binding.yaml +---- +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT