繁体   English   中英

Azure 队列触发器 function 应用程序如何仅在完成另一个队列消息后选择消息

[英]how Azure queue trigger function app can pick message after completion of another queue message only

现在在 Azure 队列触发器 function 应用程序中,队列触发器开始执行或在第一个队列消息的处理完成之前从队列中选择另一条消息,我要求只有在第一个进程完成时才应该拾取消息

我的主机.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingExcludedTypes": "Request",
      "samplingSettings": {
        "isEnabled": true
      }
    }
  },
  "extensions": {
    "queues": {
      "maxPollingInterval": "00:1:00",
      "visibilityTimeout": "00:05:00",
      "batchSize": 1,
      "maxDequeueCount": 5,
      "newBatchThreshold": 0
    }
  }
}

现在在 Azure 队列触发器 function 应用程序中,队列触发器开始执行或在第一个队列消息的处理完成之前从队列中选择另一条消息,我要求只有在第一个进程完成时才应该拾取消息

我的主机.json:

{
  "version": "2.0",
  "logging": {
    "applicationInsights": {
      "samplingExcludedTypes": "Request",
      "samplingSettings": {
        "isEnabled": true
      }
    }
  },
  "extensions": {
    "queues": {
      "maxPollingInterval": "00:1:00",
      "visibilityTimeout": "00:05:00",
      "batchSize": 1,
      "maxDequeueCount": 5,
      "newBatchThreshold": 0
    }
  }
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM