MQTT is a publish-subscribe messaging protocol commonly used to connect Internet of Things (IoT) applications. A wide range of IoT devices can now connect directly to Diffusion, send and receive data, interact with other Diffusion clients, and benefit from Diffusion’s event data processing features and rich security framework. MQTT can also be used as a lightweight alternative to the Diffusion SDK for simple publish-subscribe use cases.
Diffusion Real-Time Event Stream integration with MQTT
Introduction to Diffusion Real-Time Event Stream through a simple application using Diffusion and MQTT.js. In this tutorial we will create an MQTT client to publish Star Wars dialogs in real-time and consume them through MQTT subscriber as well as Diffusion subscriber. The goal is to show how easy it is to consume real-time data from MQTT into Diffusion with no-code required as well as how much efficiency you can add to your solution by using Diffusion. Reduce latency and bandwidth and increase throughput with our Delta Data Technology
In this example, you will have the abillity to connect either to MQTT server or Diffusion’s through its MQTT Connector. Consume messages produced by the Producer app, show them in the console and have fun while learning.
See how quickly Diffusion consumes MQTT event data and displays its values compare with a pure MQTT solution. Learn how much data you can save when using our Delta Data Technology and how fast your consumers will get that data.
Start getting familiar with Diffusion by signing up to our free Cloud solution or download our on-premise version and run it in your local environment.
Our open source code examples is available at https://github.com/diffusion-playground/starwars-mqtt
Also check out additional resources at the footer of this blog!
The Diffusion® Intelligent Event-Data Platform makes it easy to consume, enrich and deliver event-data in real-time across all network conditions. Push Technology pioneered and is the sole provider of real-time delta data streaming™ technology that powers mission-critical business applications worldwide. Leading brands use Push Technology to bring innovative products to market faster by reducing the software development efforts using the low-code features. The Diffusion® Intelligent Event-Data Platform is available on-premise, in-the-cloud, or in a hybrid configuration. Learn how Push Technology can reduce infrastructure costs, and increase speed, efficiency, and reliability, of your web, mobile, and IoT application.