Is it possible to have different settings for different Queue triggers in an Azure Function App?

304 views Asked by At

Below is from Azure Storage Queue documentation https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue. It seems to me all Queue triggers in an Azure Function app get the same settings (the settings in the "queues" block) and there's no way to have different settings for different Queue triggers. Am I correct? If that is true, any recommendation on potential workarounds?

{
    "version": "2.0",
    "extensions": {
        "queues": {
            "maxPollingInterval": "00:00:02",
            "visibilityTimeout" : "00:00:30",
            "batchSize": 16,
            "maxDequeueCount": 5,
            "newBatchThreshold": 8,
            "messageEncoding": "base64"
        }
    }
}
1

There are 1 answers

0
Frank Borzage On BEST ANSWER

As far as I know, in an Azure function app, all queue triggers share the same setting.

I'm afraid you can only create multiple Azure function apps and then create different settings.