Throttling consumption of Servicebus messages with azure functions

44 Views Asked by At

We have built several solutions for clients based on azure functions and servicebus to move data between systems. Each solution hosts many (100+) individual functions triggering on individual topics from many different systems. Although some solutions are older, the majority are .net 8 isolated functions and a solution should be based on that. These functions are using the Worker.Extensions.Servicebus bindings to trigger off of the queues.

Lately we have experienced issues with a system that is unable to process the amount of data and we therefor need to throttle requests.

How do I throttle messages read of azures queues while still using azure functions?

In other words, how do i make sure only a certain number of messages are processed at a time from select queues?

0

There are 0 best solutions below