https://github.com/emmansun/go-solace-mqtt-sample
go solace mqtt sample use https://github.com/eclipse/paho.mqtt.golang
https://github.com/emmansun/go-solace-mqtt-sample
go mqtt paho solace
Last synced: 3 months ago
JSON representation
go solace mqtt sample use https://github.com/eclipse/paho.mqtt.golang
- Host: GitHub
- URL: https://github.com/emmansun/go-solace-mqtt-sample
- Owner: emmansun
- Created: 2018-05-31T07:47:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T05:16:41.000Z (almost 7 years ago)
- Last Synced: 2025-01-09T07:32:24.991Z (5 months ago)
- Topics: go, mqtt, paho, solace
- Language: Go
- Size: 156 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-solace-mtqq-sample
go solace mqtt sample use https://github.com/eclipse/paho.mqtt.golang### Enable MQTT Service for your VPN
https://docs.solace.com/Configuring-and-Managing/Managing-MQTT-Messaging.htm### Test MQTT using paho cmd
https://github.com/eclipse/paho.mqtt.golang/blob/master/cmd/sample/main.go### Command Example:
**In fact, the client id should be mandatory! We supplemented default value if user did not specified it.**- consumer.exe --url tcp://10.222.49.29:1883 --user devuser --password devpwd --topic T/testTopic
- producer.exe --url tcp://10.222.49.29:1883 --user devuser --password devpwd --topic T/testTopic### Solace Admin UI info
**Non clean session and Qos = 0**

**Subscribe with non-clean session and Qos = 1**
There will be one **durable** and **exclusive** queue created.

