MQTT Connectivity

Last modified by Danniar Firdausy on 2024/05/21 11:24

About

This store item can accelerate you in setting up a MQTT Broker in your eMagiz flow with the minimum required configuration.

Documentation

1. How to use

With the help of this store item, you can define your own MQTT broker to host MQTT topics on which external clients can publish messages and subscribe to for retrieving messages.

2. Keynotes & restrictions

Within eMagiz, we offer two implementations:

  1. To set this MQTT broker up to only accept MQTT messages
    Here, the benefit is that there are fewer components to manage in this flow. However, that also means it is impossible to transport your messages in the MQTT topics to an AMQP queue for further processing using eMagiz flows.
  2. To set up the MQTT broker to accept MQTT messages and further process them using eMagiz flows
    If you need to further process the messages you receive from the MQTT broker using eMagiz flows, then you can add this second setup into your flow, which works by transporting the messages placed to the MQTT topics to an AMQP queue. If this is what you need, then please import another flow fragment called "MQTT Message Processing".

After you create a new version of your flow, before you create and deploy a new release, you also need to configure a new route in Deploy>Architecture of your desired environment for the clients (publishers and subscribers) of this MQTT broker to connect. The port that you define here, needs to be the same as the port that you define for your MQTT Broker in the flow that hosts it. See the image below as a reference

store-accelerators-mqtt%20connectivity-deploy%20architecture%20routes.png

3. License Information

Part of the standard license agreement as agreed upon when using the store for the first time.

4. Relevant eMagiz Academy Microlearnings

Would you please consult the privacy policy of eMagiz at the following link