Changes for page MQTT Connectivity
Last modified by Danniar Firdausy on 2024/05/21 11:24
From version 19.1
edited by Erik Bakker
on 2023/01/30 16:19
on 2023/01/30 16:19
Change comment:
There is no comment for this version
To version 26.1
edited by Danniar Firdausy
on 2024/05/16 16:41
on 2024/05/16 16:41
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - BasicAuth -Check1 +MQTT Connectivity - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.dfirdausy - Content
-
... ... @@ -2,25 +2,33 @@ 2 2 {{container layoutStyle="columns"}} 3 3 ((( 4 4 == About == 5 - Withthe help of this storecomponent,youcanvalidateif the basicauthenticationprovidedbyone single entity is conformedtohatyouwould haveexpected.Incasethatis not true,eMagizwill return'Unauthorized'to theclient.5 +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. 6 6 7 7 == Documentation == 8 8 9 9 ==== 1. How to use==== 10 -With the help of this store component, you canvalidateifthe basic authentication providedby onesingleentity is conformedtowhatyouwouldhaveexpected. In casehat is nottrue,eMagiz will return'Unauthorized'totheclient.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. 11 11 12 12 ==== 2. Keynotes & restrictions==== 13 13 14 -* Note that this functionality can only validate one specific set of credentials. If multiple clients call your endpoint you should change the groovy script accordingly. 15 -* Any custom additions that are needed for your specific use cases need to be created by you and eMagiz will not create it for you. 16 -* Please check out the following link to learn a bit more about [[Groovy>>https://www.tutorialspoint.com/groovy/index.htm||target="blank"]]. 14 +Within eMagiz, we offer two implementations: 17 17 16 +1. To set this MQTT broker up to only accept MQTT messages 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. 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". 20 + 21 +* 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: 22 + 23 + 24 + 18 18 ==== 3. License Information==== 19 19 Part of the standard license agreement as agreed upon when using the store for the first time. 20 20 21 21 ==== 4. Relevant eMagiz Academy Microlearnings==== 22 22 23 -None 30 +* [[Flow Configuration>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-flow-configuration.WebHome||target="blank"]] 31 +* [[Deploy Possibilities>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Grouping and Failover.intermediate-grouping-and-failover-deploy-possibilities.WebHome||target="blank"]] 24 24 25 25 //Would you please consult the privacy policy of eMagiz at the following [[link>>https://www.emagiz.com/privacy-policy/||target="blank"]]))) 26 26