MQTT Connectivity
Version 24.1 by Danniar Firdausy on 2024/05/16 16:17
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 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 this 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 broker to accept MQTT messages and AMQP messages
If you need to further process the messages you receive from the MQTT broker using eMagiz flows, then you need to implement the second setup, 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 you also need to define the correct settings in each flow to group flows together that need to use the active/passive failover functionality.
- When using this configuration you can only create groups within the context of a single runtime. So for each runtime for which you want this functionality you need to add this store item to the Infra flow.
- Each container needs a different port to communicate through.
- Each container needs their own cluster.
- From Deploy you can control the failover functionality.
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