Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum message payload size for a AWS-IoT core broker?

Tags:

aws-iot

mqtt

iot

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?

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.

like image 791
IgorAlves Avatar asked Oct 16 '25 02:10

IgorAlves


1 Answers

The maximum MQTT payload in AWS IoT Core is only 128kB.

The payload for every publish request is limited to 128 KB. The AWS IoT service rejects publish and connect requests larger than this size.

From https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_iot (under Message size)


As of Feb 2020 the limits are documented at https://docs.aws.amazon.com/general/latest/gr/iot-core.html#iot-protocol-limits

like image 59
Ben T Avatar answered Oct 19 '25 12:10

Ben T



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!