question

18253371 avatar image
0 Votes"
18253371 asked 18253371 commented

Azure Function Concurrent Running Limit

When using Service Bus Trigger, if 5000 Messages are included in Service Bus, it seems that 5000 Service Bus Triggers are not generated at once, but are controlled by some standard.

Instead of consuming messages by actively popping them, it works automatically. Therefore, I want to control the number of times a Trigger operates simultaneously with C# code.

I looked it up and there is a setting value called maxconcurrentcalls, which seems to work in Azure Function 1.x. Is there a way to get the same behavior in 3.x?

azure-functionsazure-service-bus
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered 18253371 commented

@18253371 The maxconcurrentcalls setting is available for service bus binding in versions 2.x and higher as mentioned in this document and this should work in 3.x version. Are you observing any issue while setting this in version 3.x

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No, I've checked this article now. I'll try it and give you feedback. thank you.

0 Votes 0 ·

Sorry for the late feedback. It's working fine.

0 Votes 0 ·