0
votes

I have a Azure queue trigger app. It tries to process message asap but when I have 1000s of message in the queue I want to limit number queue messages it process per second. Is there a way to setup limit?

My goal is to slow down the rate at which my function processes messages.

{
  "generatedBy": "Microsoft.NET.Sdk.Functions-1.0.24",
  "configurationSource": "attributes",
  "bindings": [
    {
      "type": "queueTrigger",
      "queueName": "fred",
      "connection": "",
      "name": "myQueueItem"
    }
  ],
  "disabled": false,
  "scriptFile": "../bin/run.dll",
  "entryPoint": "Fred.Run"
}
1
you can do that using Event Hub and Throughput Unit. I don't think there's a way to do that using Queue Trigger. - Thiago Custodio
Please see this answer to a very similar question. - David Makogon

1 Answers

0
votes