0
votes

I am using Google Cloud IoT core with Pub/Sub topics. I have a python script from which i am publishing data to my cloud functions via MQTT Bridge.

'/devices/{}/events/Topic'.format(device_id) #Topic

Now my question is how large the payload can be sent via MQTT? I have seen two documentations... https://cloud.google.com/pubsub/quotas & https://cloud.google.com/iot/quotas and in both the limits are quite different e.g. for Pub/Sub its 10Mb/message and for IoT is 256kb/message .. So is that means i can only send max 256 kb of payload?

1

1 Answers

3
votes

Yes, the maximum payload size should be the smaller of the two limits, 256 KB.