spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Consider to move MQTT support to HiveMQ MQTT Client

Open artembilan opened this issue 5 years ago • 11 comments

This client support both MQTT v3.1.1 and v5 protocol and it is Java 8 and Reactive ready: https://github.com/hivemq/hivemq-mqtt-client

Unlike Paho which is not clear when will support v5: https://github.com/eclipse/paho.mqtt.java/blob/master/MQTTv5.md

Although I might agree that this could be something for version 6.0 or we can support both clients since 5.3...

artembilan avatar Nov 04 '19 23:11 artembilan

+1

smaugs avatar Oct 07 '20 06:10 smaugs

Paho supports v5 already :)

oxcafedead avatar Oct 07 '20 08:10 oxcafedead

@oxcafedead ,

doesn't look like: https://www.eclipse.org/paho/index.php?page=clients/java/index.php.

Probably they have plans for that support, but no official release yet.

Thanks

artembilan avatar Oct 07 '20 15:10 artembilan

@artembilan,

strange, because the initial link brought by you in the issue states v5 support :) https://github.com/eclipse/paho.mqtt.java/blob/master/MQTTv5.md also: https://github.com/eclipse/paho.mqtt.java/releases/tag/v1.2.5

oxcafedead avatar Oct 08 '20 07:10 oxcafedead

Thank you for the pointer, @oxcafedead !

released this on Jul 14

So, that happened recently.

Anyway I see that we need to build v5-compatible channel adapters to support a new artifact from them.

On the other hand Hive also have different packages (probably with different API) for v3 & v5, respectively.

Although I still tended to move to Hive client since they have Reactor API for us.

Only the problem not clear when I will have time and resources to just into this issue.

Contributions are welcome!

artembilan avatar Oct 08 '20 13:10 artembilan

Paho still not fully supports v5 and the latest version dates back to July 2020...

vivianazimbone avatar Feb 23 '22 08:02 vivianazimbone

Hi @vivianazimbone !

would you mind to elaborate more what exactly Paho does not support yet for v5 protocol?

Thanks

artembilan avatar Feb 23 '22 14:02 artembilan