我正在对我的 Azure IoT Suite 解决方案进行负载测试。我目前正在测试每秒 3,000 条消息。我的 Azure 流分析作业从 IoT 中心提取数据并将其存储到分区 DocumentDB 数据库中。我计算过需要 12 个 Streaming 单元。当我开始工作时,出现以下错误:
Streaming Analytics job '' is only able to use up to 6 Streaming Units based on the provided query. Please adjust the number of Streaming Units or update your query and restart the job
我需要在查询中更新哪些内容才能突破 6 个流媒体单元的限制?
最佳答案
您需要添加 PARTITION BY 子句才能使用 6 个以上的 SU。请看看这篇文章:https://azure.microsoft.com/en-us/documentation/articles/stream-analytics-scale-jobs/
关于azure - 流分析作业最多只能使用 6 个流单元,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40132376/