Could this broker send a 2GB file?

Asked by timdb

The clue's in the title really, is there a file size limit? what happens when the connection is interrupted?

cheers :)

hello btw

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
timdb
Solved:
Last query:
Last reply:
Revision history for this message
andypiper (andypiperuk) said :
#1

I think you would have to break the file into chunks and reassemble which is the common
messaging pattern for this kind of scenario. I can't remember what the size limit on an MQTT message is, need to check spec.

Revision history for this message
Roger Light (roger.light) said :
#2

The payload limit is 256MB as defined on http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac10870_.htm - so a 2GB file is beyond the limit.

As Andy says, you could break the file into chunks and reassemble - 8 chunks isn't too bad hopefully.

Revision history for this message
timdb (timdbrown) said :
#3

Thanks for the responses, and the link.