Demo application with dotnet core using MqttNet to implement mqtt with RabbitMq.
- Start RabbitMq with mqtt enabled in Docker:
pip install DockerBuildManagement
dbm -swarm -start
- Open solution, restore, build and run it:
- MqttNet source code: https://github.com/chkr1011/MQTTnet
- Mqtt details: https://mosquitto.org/man/mqtt-7.html
- Mqtt qos security details: http://www.steves-internet-guide.com/understanding-mqtt-qos-levels-part-1/
- Note! RabbitMq does not suppert QoS 2 (Exactly once), and will downgrade the security to QoS 1 (At least once).