Polling an Azure Service Bus Queue from an Azure WebJob using Node.js

前端 未结 3 2016
闹比i
闹比i 2021-01-14 19:55

Trying to poll an Azure Service Bus Queue using a WebJob written in Node.js. I created 2 WebJobs. The first is on demand and sends 10 unique messages to the queue. The secon

3条回答
  •  时光说笑
    2021-01-14 20:27

    And the issue was the queue I was using was partitioned (the default option when creating a queue in the Azure portal). Once I created a new queue that was not partitioned, everything worked as expected without the lag (other than the weird 230 second timeout on a long poll attempt). So basically the node.js library doesn't work for partitioned queues. At all. Wasted many days figuring that one out. Will leave this here for others.

提交回复
热议问题