0
votes

I have a .Net project which contains, multiple trigger in a same azure function project (a blob triggered function & a Queue triggered function).

I need a different concurrency for my blob triggered function from queue triggered function.

I know that the blob trigger uses a queue internally.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob#trigger---poison-blobs

Is there any way I can achieve it?

2
Use a different function app for that case.Sebastian Achatz
what do you mean by different concurrency ?Thomas
@Thomas Concurrency settings like bactchSize and newBatchThresholdS M

2 Answers

2
votes

Like @Sebastian has said, I am afraid you can only achieve this by putting blobtrigger in another Function app.

Settings in host.json regulate behavior of the whole Function app. And We can't separately customize settings for each trigger.

In your case, queue message concurrency settings(bactchSize and newBatchThreshold) influence all triggers that consume messages concurrently.

1
votes

Rather than using blob trigger, you should try eventgrid trigger:

Using the eventgrid trigger which is a "custom" http trigger, any time a blob is added/deleted in any containers of your storage account, your endpoint will be called without any delay.