Azure Storage File Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Consume files from Azure Storage File Shares.
Configuration Options
The following table summarizes the configuration options available for the azure-storage-files-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Account Name | Required The Azure Storage File Share account name. | string | |||
Share Name | Required The Azure Storage File Share share name. | string | |||
Credential Type | Determines the credential strategy to adopt. Enum values: * SHARED_ACCOUNT_KEY * AZURE_IDENTITY * SHARED_KEY_CREDENTIAL * AZURE_SAS | string | SHARED_ACCOUNT_KEY | ||
Delay | The number of milliseconds before the next poll of the selected blob. | integer | 500 | ||
Auto-delete Blob | Specifies to delete blobs after consuming them. | boolean | false | ||
Directory Name | The directory from where the consumer will start reading files. | string | . | ||
Recursive Mode | If a directory, the consumer will look for files in all the sub-directories as well. | boolean | false | ||
Shared Access Key | The Azure Storage Blob access key. | string |
Dependencies
At runtime, the azure-storage-files-source
Kamelet relies upon the presence of the following dependencies:
-
camel:azure-files
-
camel:kamelet
-
camel:core
-
camel:timer
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:azure-storage-files-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml