如何将AWS IoT Core的设备消息存入DocumentDB

0

【以下的问题经过翻译处理】 我想将documentDB正确连接到AWS IoT Core(类似于使用规则连接IoT Core-> Dynamo Db)。 我需要它具有高度可伸缩性,以处理数百万个设备。有人之前做过吗?有什么最佳实践吗? 提前感谢!

profile picture
EXPERT
asked 5 months ago29 views
1 Answer
0

【以下的回答经过翻译处理】 你好。通常情况下,如果AWS IoT Rules Engine没有将数据路由到特定服务的操作,可以使用Lambda来实现。

AWS IoT Core-> Rule-> Lambda-> DocumentDB

如果你的消息流量较大,可以考虑在Rule和Lambda之间插入类似于SQS或KDS的消息队列,这样Lambda就可以批处理消息。这将有助于降低成本。

这些都是最简单的模式之一,可以实现你想要的目标。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions