Azure 服务总线:没有可用于使用锁定令牌完成消息的会话
我正在逻辑应用程序中使用服务总线队列,但有时当在某个时间通过大量消息时,我在尝试完成消息时开始收到此错误。它与消息锁定丢失或锁定持续时间无关,我已经在线查看了其他来源,但找不到可靠的答案来解释为什么会发生这种情况以及如何完全避免这种情况。
分区可能是一个解决方案,但我不能 100% 确定。
Error: No session available to complete the message with the lock token
Failed
谢谢, 阿尔斯兰
I am working with Service Bus Queues in Logic Apps but sometimes when a lot of messages are coming through at a certain time I am starting to get this error while trying to complete the message. It's not related to Message lock lost or Lock Duration, I have looked into other sources online but couldn't find a solid answer to why is this happening and what to do to avoid this completely.
Partitioning may be a solution but I am not 100% sure.
Error: No session available to complete the message with the lock token
Failed
Thanks,
Arslan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据从 Azure 逻辑应用连接到 Azure 服务总线 Microsoft 文档 并且正如您明确提到的,此问题不是因为消息锁定丢失或锁定持续时间。问题可能是由于超出了会话计数限制。 (1500 个独特的会话)。
您可以减少每次会话数,也可以提出功能请求
As per the Connect to Azure Service Bus from Azure logic apps Microsoft document and as you clearly mentioned that this issue is not because of Message lock lost or lock duration. Maybe the issue could be because of exceeding the session count limit. (1500 unique sessions).
Either you can reduce the sessions per time or you can raise a feature request