WARNING: the entirity of this implementation is for development purposes only and has not been tested for production systems. it is purely meant as a guideline to document some basic research findings and should NOT be used as-is for any real-world applications.
This is a basic implementation of a Mosquitto based MQTT pipeline. MQTT is a lightweight M2M protocol designed with IoT applications in mind. For example, if we want to read the state of an assembly line and trigger changes to the system, we might use an MQTT based pipeline to do this.
What can we do with an MQTT based broker/client approach:
- scalability: we might have several thousand sensors and actuators across our line that need to communicate with our central server cluster
- quality of service: depending on importance, we want the flexibility of a fire-and-forget, an atleast-once or even an exactly-once guarantee of message delivery