Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could this be used with MQTT? #130

Open
opensourcegeek opened this issue Feb 23, 2018 · 7 comments
Open

Could this be used with MQTT? #130

opensourcegeek opened this issue Feb 23, 2018 · 7 comments

Comments

@opensourcegeek
Copy link

opensourcegeek commented Feb 23, 2018

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
Copy link
Owner

jq-rs commented Feb 23, 2018

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
Copy link
Author

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
Copy link
Owner

jq-rs commented Feb 23, 2018

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

@jq-rs
Copy link
Owner

jq-rs commented Apr 12, 2018

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 jq-rs closed this as completed Apr 12, 2018
@jq-rs
Copy link
Owner

jq-rs commented Jul 20, 2019

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

@jq-rs
Copy link
Owner

jq-rs commented Sep 2, 2020

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

@jq-rs
Copy link
Owner

jq-rs commented Dec 29, 2023

MQTT - Mles v2 might be relevant still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants