Wiki source code of MQTT Connectivity

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

Hide last authors
Erik Bakker 2.1 1 {{container}}
2 {{container layoutStyle="columns"}}
Erik Bakker 4.1 3 (((
Erik Bakker 7.1 4 == About ==
Danniar Firdausy 34.1 5 This store item can accelerate you in setting up a MQTT Broker in your eMagiz flow with the minimum required configuration.
Erik Bakker 4.1 6
Erik Bakker 7.1 7 == Documentation ==
Erik Bakker 4.1 8
Erik Bakker 7.1 9 ==== 1. How to use====
Danniar Firdausy 22.1 10 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.
Erik Bakker 2.1 11
Erik Bakker 7.1 12 ==== 2. Keynotes & restrictions====
Erik Bakker 2.1 13
Danniar Firdausy 22.1 14 Within eMagiz, we offer two implementations:
15
Danniar Firdausy 26.1 16 1. To set this MQTT broker up to only accept MQTT messages
Danniar Firdausy 23.1 17 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.
Danniar Firdausy 26.1 18 1. To set up the MQTT broker to accept MQTT messages and further process them using eMagiz flows
19 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".
Danniar Firdausy 25.1 20
Danniar Firdausy 36.1 21 {{info}}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{{/info}}
Erik Bakker 3.1 22
Danniar Firdausy 27.1 23 [[image:Main.Images.Store.WebHome@store-accelerators-mqtt%20connectivity-deploy%20architecture%20routes.png]]
Danniar Firdausy 26.1 24
Erik Bakker 7.1 25 ==== 3. License Information====
Erik Bakker 15.1 26 Part of the standard license agreement as agreed upon when using the store for the first time.
Erik Bakker 2.1 27
Erik Bakker 10.1 28 ==== 4. Relevant eMagiz Academy Microlearnings====
29
Danniar Firdausy 30.1 30 * [[Routes Configuration>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.eMagiz Cloud Management.intermediate-emagiz-cloud-management-routes||target="blank"]]
Erik Bakker 10.1 31
Erik Bakker 18.1 32 //Would you please consult the privacy policy of eMagiz at the following [[link>>https://www.emagiz.com/privacy-policy/||target="blank"]])))
Erik Bakker 2.1 33
34
Erik Bakker 3.1 35
Erik Bakker 11.1 36 ((()))
Erik Bakker 2.1 37 {{/container}}
38 {{/container}}