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 d474b84dc66ae53fd5fbcee244839369e3dabcd4 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Apr 12 17:53:49 2021 +0200 Added Azure Storage Blob Source Kamelet --- .../images/kamelets/azure-storage-blob-source.svg | 1 + .../ROOT/pages/azure-storage-blob-source.adoc | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/docs/modules/ROOT/assets/images/kamelets/azure-storage-blob-source.svg b/docs/modules/ROOT/assets/images/kamelets/azure-storage-blob-source.svg new file mode 100644 index 0000000..5065cb0 --- /dev/null +++ b/docs/modules/ROOT/assets/images/kamelets/azure-storage-blob-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="M67.558 0H22.441L0 40l22.441 40h45.117L90 40 67.558 0zm.234 57.964c0 3.353-2.805 6.227-6.078 6.227H28.52c-3.273 0-6.078-2.874-6.078-6.227V22.276c0-3.353 2.805-6.228 6.078-6.228h29.922l9.351 9.581v32.335zM41.61 46.467c [...] \ No newline at end of file diff --git a/docs/modules/ROOT/pages/azure-storage-blob-source.adoc b/docs/modules/ROOT/pages/azure-storage-blob-source.adoc new file mode 100644 index 0000000..703d9a7 --- /dev/null +++ b/docs/modules/ROOT/pages/azure-storage-blob-source.adoc @@ -0,0 +1,65 @@ +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT += image:kamelets/azure-storage-blob-source.svg[] Azure Storage Blob Source + +*Provided by: "Apache Software Foundation"* + +Consume Files from Azure Storage Blob. + +== Configuration Options + +The following table summarizes the configuration options available for the `azure-storage-blob-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 Blob access Key.| string| | +| *accountName {empty}* *| Account Name| The Azure Storage Blob account name.| string| | +| *containerName {empty}* *| Container Name| The Azure Storage Blob container name.| string| | +| *period {empty}* *| Period between polls| The interval between fetches to the Azure Storage Container in milliseconds| integer| `10000`| +|=== + +NOTE: Fields marked with ({empty}*) are mandatory. + +== Usage + +This section summarizes how the `azure-storage-blob-source` can be used in various contexts. + +=== Knative Source + +The `azure-storage-blob-source` Kamelet can be used as Knative source by binding it to a Knative object. + +.azure-storage-blob-source-binding.yaml +[source,yaml] +---- +apiVersion: camel.apache.org/v1alpha1 +kind: KameletBinding +metadata: + name: azure-storage-blob-source-binding +spec: + source: + ref: + kind: Kamelet + apiVersion: camel.apache.org/v1alpha1 + name: azure-storage-blob-source + properties: + accessKey: "The Access Key" + accountName: "The Account Name" + containerName: "The Container 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-blob-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-blob-source-binding.yaml +---- +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT