Azure Storage Blob Event-based Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Preview"
Receive data from Azure Service Bus subscribed to Azure Eventgrid reporting events related to a Azure Storage Blob account.
Configuration Options
The following table summarizes the configuration options available for the azure-storage-blob-event-based-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Access Key | Required The Azure Storage Blob access key. | string | |||
Account Name | Required The Azure Storage Blob account name. | string | |||
Connection String | Required Connection String for Azure Servicebus instance. | string | |||
Container Name | Required The Azure Storage Blob container name. | string | |||
Topic Or Queue Name | Required Topic Or Queue Name for the Azure Servicebus instance. | string | |||
Credential Type | Determines the credential strategy to adopt. Enum values: * SHARED_ACCOUNT_KEY * SHARED_KEY_CREDENTIAL * AZURE_IDENTITY | string | SHARED_ACCOUNT_KEY | ||
Get Object in Container | If getBlob is enabled, then the file created in the container will be get and returned as body, if not only the event will be returned as body. | boolean | false | ||
Servicebus Receive Mode | Sets the receive mode for the receiver. Enum values: * RECEIVE_AND_DELETE * PEEK_LOCK | string | RECEIVE_AND_DELETE | ||
Subscription Name | Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic. | string |
Dependencies
At runtime, the azure-storage-blob-event-based-source
Kamelet relies upon the presence of the following dependencies:
-
camel:azure-servicebus
-
camel:azure-storage-blob
-
camel:kamelet
-
camel:core
-
camel:jsonpath
-
camel:jackson
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-blob-event-based-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml