首页 文章

从Azure功能向Azure Event Hub发布事件:无法为当前会话或连接分配更多句柄

提问于
浏览
1

我们有一个Azure功能,它通过内置的事件中心集成绑定将消息发布到Azure事件中心,然后用于提供流分析作业 . 这一切都运行良好然后突然昨晚我们开始在写入事件中心的Azure功能中收到以下错误:

Exception while executing function: Functions.LocationEventPublish. Microsoft.Azure.WebJobs.Script: One or more errors occurred. Microsoft.ServiceBus: Cannot allocate more handles to the current session or connection. The maximum number of handles allowed is 4999. Please free up resources and try again.

找到下面的SO帖子,了解我们为什么得到这个和建议的解决方案 . 但是,在使用内置集成绑定从Azure功能发布到事件中心时,我们应该如何仅分配单个客户端实例?停止并启动我们的Azure功能解决了这个问题,但似乎这是使用Azure功能填充事件中心的一个非常重要的问题 .

Event Hub Exception Cannot Allocate More Handles To The Current Session or connection

1 回答

相关问题