Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can MQTT v3 client work with MQTT v5 server?

Tags:

mqtt

paho

alpakka

I wanted to make use of Shared Subscription feature of MQTT v5. But currently I am using AKKA MQTT client which doesn't support MQTT v5 client. Can I still use v3 MQTT paho client and use Shared Subscription feature?

like image 525
saumilsdk Avatar asked Jan 23 '26 05:01

saumilsdk


1 Answers

That should not be a problem as from the viewpoint of an MQTT v3 client a shared subscription is just like any subscription.

The broker has to do all the work regarding shared subscription logic.

The only hindrances I can see are:

  • that an MQTT broker might support v5 but not v3/v3.1.1
  • the broker doesn't support shared subscriptions in general (yes they exist)
  • the broker supports all MQTT versions but handles them as two different protocols (not sure if this is a thing)
like image 191
MicWal Avatar answered Jan 26 '26 15:01

MicWal