接收器的预取计数小于要求的最大消息
我正在使用Azure Service Bus扩展程序进行功能应用程序服务总线触发器,并具有低于扩展设置的PrefetchCount = 30,
"extensions": {
"serviceBus": {
"prefetchCount": 30,
"messageHandlerOptions": {
"autoComplete": false
}
}
},
所有功能都可以正常工作,我也可以看到Max 30 Messages处理,但是我也在警告下方。
[16:29:57 WRN]带有标识符mytopic/mytopic-Sub1-22876764-E8B7-4D33-86C4-5F98534A369A的接收器的预取预约计数。使用预取时,在任何单个接收呼叫中,都无法收到比预取更多的计数更多:prefetchcount:30; MaxMessages:1000
此警告意味着什么以及如何摆脱它?
I am using Azure Service Bus extension for Function App service bus trigger and have below extension settings prefetchCount = 30,
"extensions": {
"serviceBus": {
"prefetchCount": 30,
"messageHandlerOptions": {
"autoComplete": false
}
}
},
All works fine and MAX 30 messages processing also I can see, but I am getting below warning as well,
[16:29:57 WRN] Prefetch count for receiver with Identifier mytopic/Subscriptions/mytopic-sub1-22876764-e8b7-4d33-86c4-5f98534a369a is less than the max messages requested. When using prefetch, it isn't possible to receive more than the prefetch count in any single Receive call: PrefetchCount: 30; MaxMessages: 1000
What this warning means and how to get rid of it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该消息告诉该配置是亚最佳的。要解决此问题,请设置比使用批次接收的消息的预取大于您接收的消息的数量。
The message tells that the configuration is sub optimal. To fix this, set the prefetch larger than the number of the message you're receiving using a batches recieve.