AWS-IoT核心代理的最大消息有效负载大小是多少? [英] What is the maximum message payload size for a AWS-IoT core broker?
问题描述
在文档 AWS服务限制有效负载大小IoT核心服务的限制尚不明确.由于我们可以将本地蚊帐桥接到AWS IoT ,我想这最后一个应该接受mosquitto的最大有效负载
In the documentation AWS Service Limits the payload size limit is not clear for the IoT-Core service. Since we can bridge local mosquitto to AWS IoT, I suppose that this last one should accept the max size of payload from mosquitto witch is 256Mb. So what is the max size (in terms of payload) that I can send to a broker in AWS-IotCore?
该问题的原因是我不想在mongoDb中创建许多文档.为此,我将每小时发送一次数据,文档或消息有效载荷将比几秒钟发送的数据高得多.
The reason for that question is that I dont want to create to many documents in my mongoDb. For that I am going to send hourly data and the document or the message payload will be much higher than sends for seconds.
推荐答案
AWS IoT Core中的最大MQTT有效负载仅为128kB.
The maximum MQTT payload in AWS IoT Core is only 128kB.
每个发布请求的有效负载限制为128 KB.AWS IoT服务拒绝大于此大小的发布和连接请求.
The payload for every publish request is limited to 128 KB. The AWS IoT service rejects publish and connect requests larger than this size.
来自 https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_iot (在邮件大小
下)
As of Feb 2020 the limits are documented at https://docs.aws.amazon.com/general/latest/gr/iot-core.html#iot-protocol-limits
这篇关于AWS-IoT核心代理的最大消息有效负载大小是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!