c# - azure 存储队列中的最大出队计数

标签 c# azure azure-queues azure-storage-queues

  1. Azure 存储队列消息最多可以出列多少次?

在 MSDN 上找不到任何与此相关的文档。

  • 我们的假设是否正确,即仅当发生异常且不基于出队计数时,消息才会移至有害队列?
  • 注意:我们正在处理来自 Windows 服务的消息。

    最佳答案

    What is the maximum no of times a azure storage queue message can be dequeued ?

    消息从 Azure 存储队列中出队的次数没有限制。

    Is our assumption correct that messages are moved to the poison queue only when an exception happens and it’s not based on the dequeue count ?

    没有。该消息将继续保留在队列中,直到您决定将该消息移至其他队列(您指定为有害队列)或删除该消息。

    如果您正在寻找此类功能,我建议您研究一下 Azure 服务总线。它具有“最大传递计数”的概念,即消息可以出列的次数和“死信子队列”,如果消息的出列计数超过,则消息可以移动到该死信子队列最大交付数量。

    关于c# - azure 存储队列中的最大出队计数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68856225/

    相关文章:

    angular - 如何将 AppInsights 与 Angular 结合使用?

    c# - 从队列触发器启动 Azure 辅助角色

    azure - SQL Azure 联合身份验证替代方案 : are Azure Queues or Service Bus Queues a good choice?

    c# - Pinvoke 返回 int, API

    c# - 从相对路径获取绝对URL(重构方法)

    azure - ARM 模板 - 不允许主模板中存在多个链接模板

    azure - 以队列为中心的工作模式的故障处理

    c# - 在提示框内添加标签

    c# - 方法中的日志记录以何种方式容易出错且具有侵入性?

    基于输入参数的 Azure ARM 模板参数