Was this helpful?
Configuring the 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:
Make sure you have already completed Authorize the File Folder Listener Service.
After making any configuration changes to the application.properties or file-folder-listener-listeners.yml file, you must restart the File Folder Listener Service for those changes to take effect.
application.properties:
Add the appropriate Blob Storage Access Key to the <ProgramDataDirectory>\Actian\FileFolderListener\conf\application.properties file.
Property
Default Value
Description
azure.blob.accesskey
required
Example:
# Azure Connection Info
azure.blob.accesskey=EXAMPLEKEYVALUENefMtV50Sp7o7dW2GhKeZQWUce6z6mTb/gylpzsq5m5UEGcgB2QqxlDgEXAMPLEKEYVALUE==
file-folder-listener-listeners.yml:
Configure these properties in <ProgramDataDirectory>\Actian\FileFolderListener\conf\file-folder-listener-listeners.yml.
Property
Default Value
Description
id
A unique identifier for the listener
listener-type
Available listener types: local, aws, gcp, azure
config-id
The Job Configuration ID to run in Integration Manager
active
true
Whether the listener is active
storage- account-name
The Azure storage account name
source- container- name
The Azure blob container name to monitor for new files
include- pattern
 
Includes files if the file name matches the regular expression pattern you specify (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet)
exclude- pattern
 
Excludes files if the file name matches the regular expression pattern you specify (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Cheatsheet)
filename- override
 
This 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.
Example:
Note:  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.txt
    exclude-pattern: ^skipme.txt
- id: aws-bucket-listener-contacts
    config-id: 90379
    listener-type: azure
    active: true
    storage-account-name: my-azure-storage-account
    source-container-name: my-contacts-container
    include-pattern: ^Contacts.txt
    exclude-pattern: ^skipme.txt
Last modified date: 03/14/2022