spin icon indicating copy to clipboard operation
spin copied to clipboard

Support MQTT V5

Open calebschoepp opened this issue 10 months ago • 3 comments

It seems like outbound-mqtt only supports MQTT V3 (@suneetnangia can you please confirm that is correct). It would be nice to support MQTT V5 as well.

I care about this mostly from the perspective of OTEL trace propagation being easier in V5.

calebschoepp avatar Apr 05 '24 22:04 calebschoepp

Client supports v5 via a module (https://docs.rs/rumqttc/latest/rumqttc/v5/index.html) so in theory this should be reasonably easy.

@calebschoepp Would we need to support v3 and v5 alongside each other, or would v5 interoperate with v3 brokers?

itowlson avatar Apr 08 '24 20:04 itowlson

I have no clue and know very little about the IoT messaging space and was hoping @suneetnangia could weigh in on that.

A brief google seems to indicate that there is not full backwards compatibility and that we would likely need to support both versions in parallel.

calebschoepp avatar Apr 08 '24 20:04 calebschoepp

One alternative to both in parallel could be the possibility of runtime config where you choose what version of the host component you would want.

karthik2804 avatar Apr 09 '24 16:04 karthik2804