Skip to content

Message Queue Services (Stack9-core v3.0)

In Stack9 version 2.0.0 it was introduced the ability to interact with message queue services (AWS SQS & Azure Queue Storage)

Environment variables

These enviroment variables should be configured in order to start using message queue service in stack9

Requires Authorization

AWS - AWS_REGION - AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY

Azure

    - AZURE_QUEUE_STORAGE_CONNECTION_STRING // DefaultEndpointsProtocol=<http|https>;AccountName=<account-name>;AccountKey=<account-key>;BlobEndpoint=<blob-endpoint>;

Stack9-config

In stack9.config.json the message queue service should be specified in order to be enabled.

"MessageQueueService": "aws-sqs", "MessageQueueServiceOptions": ["aws-sqs", "azure-queue-storage"]

When running locally, a docker container with localstack will be started to mock SQS service when chosen aws-sqs and azurite for azure-queue-storage