You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to mochi-mqtt and Go. I have some background working with MQTT. I'd like to build a simple Server and Client with mochi, I understand you can get the full power of mochi-mqtt/server using it as a service, whoever, I'd like to make use of the embeddable features and use it as a package to fully understand it and make use of all the features on demand, rather than getting it all from the start.
In my experience using mosquitto, I would simply send messages to a subscribed topic and mosquitto would show the messages sent. Here, I'm struggling to make a simple solution like this. Eventually, I want to evolve to persist data and serve through websocket (as I've seen it's already possible). Whoever, I still don't get how to start simple. Can anyone help me figure this out?
What I had in mind initially was:
A simple server sending MQTT messages to a pre-determined topic in mochi-mqtt/server.
A simple MQTT broker using mochi-mqtt/server for handling MQTT messages.
A simple client subscribed to a topic in mochi-mqtt/server receiving MQTT messages and rendering them on an interface.
I appreciate any guidance I can get, as I'm a little lost. Hopefully later I can contribute to the project and share some of my work with it. Thank you very much.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm new to mochi-mqtt and Go. I have some background working with MQTT. I'd like to build a simple Server and Client with mochi, I understand you can get the full power of mochi-mqtt/server using it as a service, whoever, I'd like to make use of the embeddable features and use it as a package to fully understand it and make use of all the features on demand, rather than getting it all from the start.
In my experience using mosquitto, I would simply send messages to a subscribed topic and mosquitto would show the messages sent. Here, I'm struggling to make a simple solution like this. Eventually, I want to evolve to persist data and serve through websocket (as I've seen it's already possible). Whoever, I still don't get how to start simple. Can anyone help me figure this out?
What I had in mind initially was:
I appreciate any guidance I can get, as I'm a little lost. Hopefully later I can contribute to the project and share some of my work with it. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions