MQTTX icon indicating copy to clipboard operation
MQTTX copied to clipboard

[Bug] MQTTX fails to decode MessagePack messages with LZ4BlockArray compression

Open ObsidianCompiler opened this issue 5 months ago • 1 comments

Bug Report

What did I do

I subscribed to a topic using MQTTX and configured the message decoding format as MessagePack.

What happened

When messages are received, MQTTX throws an error during decoding.

Expected

Messages should be correctly decoded and displayed in the UI when using the MessagePack format.

Environment

  • OS: Windows 11 Pro
  • MQTTX version: 1.12.0

More detail

The messages published on the topic are encoded using MessagePack with LZ4BlockArray compression.
However, MQTTX does not support this compression format, which causes the decoding to fail even though the base format is MessagePack.

This makes MQTTX incompatible with topics using this specific encoding method.

ObsidianCompiler avatar Jul 23 '25 13:07 ObsidianCompiler

Sorry for the late response!

This is a valid issue. MQTTX currently doesn't support LZ4 decompression for MessagePack. We'll look into adding this feature.

ysfscream avatar Jul 30 '25 16:07 ysfscream