Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » Data Compression(Data Compression)
Data Compression [message #1824496] Thu, 16 April 2020 08:59 Go to next message
Thomas Prantl is currently offline Thomas PrantlFriend
Messages: 1
Registered: April 2020
Junior Member
Hello together,

at moment i try to find out if MQTT supports data compression or not. I already found out, that when i combine MQTT with TLS i can use the data compression options of TLS.

Does MQTT also supports the direct compression of data or must an application compress the data itself which they then publish. In this case the subscriber application must know how to decompress the data. In this case data compression is possible, but not directly supported by MQTT

Thanks for your help :)
Re: Data Compression [message #1824525 is a reply to message #1824496] Thu, 16 April 2020 21:01 Go to previous message
Roger Light is currently offline Roger LightFriend
Messages: 90
Registered: September 2013
Member
MQTT doesn't normally care about what the payload is, so you can compress it if you want but as you say the receiving end must know about that. MQTT v5 adds options for specifying payload content-type, so that could be used to indicate the data was compressed. It still relies on client support however.
Previous Topic:Unable to activate User/Password
Next Topic:WiFi network interrupted
Goto Forum:
  


Current Time: Wed Apr 24 14:23:00 GMT 2024

Powered by FUDForum. Page generated in 0.02741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top