Azure Function Queue, how to pick up 1 dice at a time?

Asked

Viewed 18 times

0

Hello, good(m) (day, afternoon, night)

I am working with a Function that when activated makes a very heavy processing. inserir a descrição da imagem aqui

Because of that I can’t let her pick up multiple dice in the queue, it needs to be one at a time, In this documentation I found some settings that apparently would work, but came to nothing:

Note: I am using v2, the explanations have on the first link

https://github.com/Azure/azure-functions-host/wiki/host.json

https://github.com/Azure/azure-functions-host/wiki/host.json-(v2)

The last configuration I tried was based on v2:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingExcludedTypes": "Request",
      "samplingSettings": {
        "isEnabled": true
      }
    },
    "queues": {
      "maxDequeueCount": 0
    },
    "serviceBus": {
      "messageHandlerOptions": {
        "maxConcurrentCalls": 1
      }
    }
  }
}

maxConcurrentCalls: By default it takes 16 items from the queue, already tested and from that same. but changing the configuration to any version format does not work

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.