Skip to main content



      Home
Home » Eclipse Projects » Mosquitto » Data Compression(Data Compression)
Data Compression [message #1824496] Thu, 16 April 2020 04:59 Go to next message
Eclipse UserFriend
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 17:01 Go to previous message
Eclipse UserFriend
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 Jul 09 09:19:38 EDT 2025

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

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

Back to the top