问题描述
我们成功使用Stream Analytics来接收从IoT中心设备发送的事件消息. Stream Analytics开箱即用地支持IoT中心作为输入流.但是现在我们需要将流分析输出结果发送到IoT中心设备.我们能够将事件集线器连接建立到IoT中心作为Stream Analytics的输出接收器,但是会引发一个错误事件:Message: Access to the Event Hub has been denied. The token may have an invalid signature.
We use Stream Analytics successfully for ingesting event messages sent from IoT Hub devices. Stream Analytics supports IoT Hub as Input stream out of the box.But now we have a requirement to send the Stream Analytics Output result to an IoT Hub Device. We are able to setup an Event Hub connection to IoT Hub as the Output sink for Stream Analytics, but we get an error event raised: Message: Access to the Event Hub has been denied. The token may have an invalid signature.
哪个提出了问题?是否可以从Stream Analytics Output接收器发送IoT中心云到设备的消息?
Which raises the question; is it at all possible to send IoT Hub Cloud-to-Device messages from an Stream Analytics Output sink?
推荐答案
- 可以通过Service Bus实体(队列/主题)间接地从Stream Analytics作业发送IoT Hub C2D消息(非遥测路径),请参见以下屏幕片段:
这篇关于从流分析输出发送IoT中心云到设备的消息(使用事件中心端点)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!