jq-rs / mles-rs

Distributed publish-subscribe data service and Mles protocol reference implementation on Rust, Warp and Serde
Mozilla Public License 2.0
163 stars 10 forks source link

Could this be used with MQTT? #130

Open opensourcegeek opened 6 years ago

opensourcegeek commented 6 years ago

I'm currently using MQTT client (implemented in Rust) to push data through to server. We're using cloud solutions as MQTT server which works fine, however I'm looking for a light weight option for use cases where cloud providers cannot be used. I could use RabbitMQ with MQTT adapter but I was wondering if it's possible to use this library with adapter for MQTT. I really like the simplistic approach this library has taken - thanks for open sourcing it.

jq-rs commented 6 years ago

Sure, one could do an MQTT/Mles proxy that would be able to pass traffic back and forth. An Mles WebSocket proxy client example already exists, so adding a new client with MQTT support using some Rust MQTT library is certainly possible by rewriting the WebSocket side. If you plan to do it, I'll certainly try to help in case questions arise about the Mles part.

opensourcegeek commented 6 years ago

Sounds good, but I think I need some time to get used to MLES client (for WS) before starting a MLES client for MQTT. Where is the best place to start - MLES client?

jq-rs commented 6 years ago

Yes, the Mles client is the best place to start as it has the proxy embedded.

jq-rs commented 6 years ago

As async/await is in changing state everyone is waiting for the more final APIs. Let me know if you have more questions. Closed for now.

jq-rs commented 5 years ago

As async/await is getting finalized and MQTT proxy seems to be a popular topic, reopening.

jq-rs commented 4 years ago

There is now also mles-webproxy available as a starting point for this enhancement.

jq-rs commented 10 months ago

MQTT - Mles v2 might be relevant still.