azure storage blob event based source 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.

Connection string is the basic method for authenticating to the Azure Servicebus Queue.

To use this Kamelet you’ll need to set up Events on your Azure Storage Blob account and select as an endpoint an Azure Servicebus Queue.

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

accessKey

Access Key

Required The Azure Storage Blob access key.

string

accountName

Account Name

Required The Azure Storage Blob account name.

string

connectionString

Connection String

Required Connection String for Azure Servicebus instance.

string

containerName

Container Name

Required The Azure Storage Blob container name.

string

topicOrQueueName

Topic Or Queue Name

Required Topic Or Queue Name for the Azure Servicebus instance.

string

credentialType

Credential Type

Determines the credential strategy to adopt.

Enum values:

* SHARED_ACCOUNT_KEY * SHARED_KEY_CREDENTIAL * AZURE_IDENTITY

string

SHARED_ACCOUNT_KEY

getBlob

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

serviceBusReceiveMode

Servicebus Receive Mode

Sets the receive mode for the receiver.

Enum values:

* RECEIVE_AND_DELETE * PEEK_LOCK

string

RECEIVE_AND_DELETE

subscriptionName

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