Skip to main content
Version: 3.3

Azure Blob Storage Listener

The Azure Blob Storage Listener monitors Blob containers for files and will execute a pre-defined Job Configuration (config-id) when triggered.

Notes

Add Blob Storage Permissions

For more information on how to create/obtain this key, see https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json&tabs=azure-portal#view-account-access-keys.

application.properties

<ProgramDataDirectory>/Actian/FileFolderListener/conf/application.properties

Example

# Azure Connection Info
azure.blob.accesskey=EXAMPLEKEYVALUENefMtV50Sp7o7dW2GhKeZQWUce6z6nTb/gylpzsq5m5UEUcgB2QqxlDgEXAMPLEKEYVALUE==

Listener Configuration

listeners.yml

<ProgramDataDirectory>/Actian/FileFolderListener/conf/listeners.yml

Example

IMPORTANT

Indentation is critical for YAML syntax!

listeners:   
- id: azure-container-listener-accounts
config-id: 90378
listener-type: azure
active: true
storage-account-name: my-azure-storage-account
source-container-name: my-accounts-container
include-pattern: ^Accounts.*
filename-override: Accounts.txt
- id: azure-container-listener-contacts
config-id: 90379
listener-type: azure
active: true
storage-account-name: my-azure-storage-account
source-container-name: my-contacts-container
source-file-prefix: Contacts
filename-override: Contacts.txt

Properties

Property
DescriptionDefault
idA unique identifier for the listener.
listener-typeAvailable listener types: local, aws, gcp, azure.
config-idThe Job Configuration id to run in Integration Manager.
activeWhether or not this listener is active.true
storage-account-nameThe Azure storage account name.
source-container-nameThe Azure blob container name to monitor for new files.
include-patternIncludes files if the file name matches the regular expression pattern you specify. See Cheatsheet and RegexPal.
source-file-prefixIncludes files if the file name matches the prefix pattern (that is, the file name starts with the characters) you specify. For example, Accounts (equivalent to regex: ^Accounts.*) matches Accounts.txt, Accounts.csv, Accounts_1.txt, etc.
Note: This property is preempted by include-pattern, when specified.
filename-overrideThis value will override the filename passed to Integration Manager, regardless of the original source file name. The original source file name will always be used for backup and error files.