moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 509 forks source link

Shared Subscriptions #551

Closed behrad closed 7 years ago

behrad commented 7 years ago

How easy can we support $shared:my-topic subscriptions for subscriber load balancing @mcollina ? http://www.hivemq.com/blog/mqtt-client-load-balancing-with-shared-subscriptions/

mcollina commented 7 years ago

It would be extremely hard and off standard. You can achieve much better reliability by using the published handler and QoS 1.

I think it might feasible in Aedes, if you want to give it a stab. In mosca it might be extremely hard.

Llorx commented 6 years ago

Since OCT 2016 is an accepted standard: https://issues.oasis-open.org/browse/MQTT-234

mcollina commented 6 years ago

MQTT 3.1.1 does not include that. Ideally it will be in MQTT 5. As I said before, I'm happy to receive new features in Aedes. https://www.npmjs.com/package/aedes

Llorx commented 6 years ago

Oh yeah, Affects Version/s: 5. Silly me. Don't noticed.