- 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/