流分析无法输出到 DocumentDb 的分区集合
Stream Analytics cannot output to DocumentDb's Partitioned Collection
我正在尝试向 IoT 中心发送消息并将其保存到 DocumentDB
使用流分析,尽管我无法将其输出到
DocumentDB 的 "Partitioned" 集合。
我能够将消息输出到 "Single Partition" 集合,但是没有文档输出到 "Partitioned" 集合。
详情如下:
[DocDB "Partitioned" 集合的流分析输出]
- 输出别名:outdocdbpart
- 分区键:DeviceId
- 文档 ID : id
[流分析查询]
/*Partitioned:no document inserted*/
SELECT * INTO [outdocdbpart] FROM [inputiothub]
[要插入的 JSON 内容的格式是这样的]
{
"DeviceId": "device001",
"id": "{Guid}",
...
}
(*) 我只为 "Partitioned" 集合添加了 "id"。
对于 "Single Partitioned",我没有放置 "id" 属性.
[DocDB "Partitioned" 集合的设置]
- 分区模式:分区
- 分区密钥:/DeviceId
以上资源均在同组同地域。
问题的原因可能是什么?
我错过了什么吗?
Azure 流分析目前无法输出到 Azure DocumentDB 分区集合。我们的团队目前正在努力实现这一点,但我们还没有预计到达时间。
同时,你能在 Azure 流分析反馈论坛上为这个项目投票吗?
我正在尝试向 IoT 中心发送消息并将其保存到 DocumentDB 使用流分析,尽管我无法将其输出到 DocumentDB 的 "Partitioned" 集合。
我能够将消息输出到 "Single Partition" 集合,但是没有文档输出到 "Partitioned" 集合。
详情如下:
[DocDB "Partitioned" 集合的流分析输出]
- 输出别名:outdocdbpart
- 分区键:DeviceId
- 文档 ID : id
[流分析查询]
/*Partitioned:no document inserted*/
SELECT * INTO [outdocdbpart] FROM [inputiothub]
[要插入的 JSON 内容的格式是这样的]
{
"DeviceId": "device001",
"id": "{Guid}",
...
}
(*) 我只为 "Partitioned" 集合添加了 "id"。 对于 "Single Partitioned",我没有放置 "id" 属性.
[DocDB "Partitioned" 集合的设置]
- 分区模式:分区
- 分区密钥:/DeviceId
以上资源均在同组同地域。 问题的原因可能是什么? 我错过了什么吗?
Azure 流分析目前无法输出到 Azure DocumentDB 分区集合。我们的团队目前正在努力实现这一点,但我们还没有预计到达时间。
同时,你能在 Azure 流分析反馈论坛上为这个项目投票吗?