Open icraggs opened 7 years ago
I just wanted to reiterate Tim Verbelen’s statement that the IoT Expert Group at the OSGi Alliance have also been looking at better ways to support MQTT, including some work on a service-based client API. We would be very interested in engaging with the team working on the new client API so that we can make the fit as seamless as possible. There are some OSGi Alliance IoT EG members who already contribute to Paho, and many more who contribute to other Eclipse projects. I’ve included a few of the primary drivers from the OSGi side on copy, and you can see what we’ve been thinking so far in the RFC at https://github.com/osgi/design/blob/master/rfcs/rfc0229/RFC0229-MQTT.pdf
Please do let us know how we can get involved.
Tim Ward
OSGi IoT Expert Group Chair
Regarding the Java client implementation, it might be interesting to note that the OSGi Alliance is also currently working on an MQTT client API that exploits the latest Java features and runs nicely within an OSGi framework. The current proposal is to have a Java 8 Streams like API that allows to process incoming MQTT messages asynchronously using lambda expressions.
It would be cool if Paho would support the OSGi spec out of the box or at least plays nicely with it. The OSGi spec design is far from complete so any feedback from the Paho community is welcome. The current design document can be found at https://github.com/osgi/design/blob/master/rfcs/rfc0229/RFC0229-MQTT.pdf
Best regards,
Tim Verbelen