MQTT Connectivity
Version 29.1 by Danniar Firdausy on 2024/05/16 16:50
About
This store item can easily add the required configuration to your infra flow to make the active/passive failover functionality possible within the runtime context.
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:
- 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. - 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".
- Note that 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:
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