- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个包含大约 900 条消息的 Azure 队列(ServiceBus 主题订阅死信队列)。我想列出它们以用于调试目的。我调用 PeekBatch 方法,参数 messageCount 设置为 100。我期望收到 100 条消息,但我只收到 69 条。这是为什么???
最佳答案
我最近遇到了类似的问题,其中报告的事件消息计数高于可以读取的实际消息数。经过一番调查,我联系了微软的Azure支持团队。这是他们告诉我的:
After researching I see that there is bug about this where the count is not showing correct value. The bug is active so it’s not resolved. Product group is tracking it but I don’t have any ETA on it.
虽然在我的例子中是事件消息计数关闭,但这很可能是同一个问题。
我找到了一种方法(仅在某些时候有效 - 我不知道为什么)来纠正消息计数。使用 Service Bus Explorer,选择显示问题的主题,点击“更新”(不更改任何设置),然后点击“刷新”。
关于Azure ServiceBus PeekBatch 方法返回错误的记录数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29492468/
这两个: queueClient.PeekBatch(Convert.ToInt32(60)); 还有这个: messageReceiver.PeekBatch(Convert.ToInt32(60)
我有一个包含大约 900 条消息的 Azure 队列(ServiceBus 主题订阅死信队列)。我想列出它们以用于调试目的。我调用 PeekBatch 方法,参数 messageCount 设置为 1
我有一个包含大约 900 条消息的 Azure 队列(ServiceBus 主题订阅死信队列)。我想列出它们以用于调试目的。我调用 PeekBatch 方法,参数 messageCount 设置为 1
我正在尝试使用 Azure SubscriptionClient.PeekBatch(int count) 来查看消息。对于 0 - 9 的计数值,一切正常,但一旦我输入 > 9 的值,我只会收到 9
我正在使用 PeekBatch() QueueClient上的方法(Windows Azure 服务总线包版本 2.1.2.0)。 它第一次工作正常,并返回队列中存在的单个消息,但后续调用什么也不返回
我是一名优秀的程序员,十分优秀!