This repo is intended to showcase the use of Azure Storage SDK in conjunction with an external app, a CDF Function. Azure Storage Queue messages are extracted by the CDF Function for processing.
Processing use cases could be many, particularly if used together with an IaC repo that creates the data pipelines in Azure, such as this one. For example:
- alerting the user that a person of interest posted a message in a public channel.
- producing statistics about topics discussed and activity.
- analyzing messages using LLM to automatically propose updates to documentation, detecting hot topics and matters of interest to the user.
The function expects a data object which stores and makes available to the function the configuration parameters necessary for it to run. The parameters are the below:
- queue_name: name of the Azure Queue to read from. The queue belongs to a Storage Account, is obtained from the
Connection String, which needs to be made available as an env variable.
- Connection String: String used to authenticate and authorize writing to a given message queue.
Not defined or enforced.
- The function receives the name of the queue to write to as a parameter in the
dataobject. - It checks if the queue exists.