Difference between mqtt-export and external-mqtt-trigger #60
-
Hi all, I am working on reading the uart sensors data using edgex (jakarta). I am testing the edgex message-bus by using all the types of buses supported by edgex. Firstly, I tested with default message-bus used by edgex, i,e. redis pub/sub. So, tested reading the sensors data and publishing and subscribing the data is possible.But its not efficient to use redis pub/sub for publishing the larger data. Next, I modified the app-service (mqtt-export) to use mqtt for pub/sub, the app-service and device-service are able to connecting to broker. At sometimes the services get disconnected and reconnect with the broker, due to which there is data loss happening. Lastly, I tried working with external-mqtt-trigger for pub/sub. Based on my testing I could say that external-mqtt-trigger is used to get (subscribe) the commands/data from the publisher (cloud). I would appreciate the help resolving the issues
Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Please read the documentation on triggers and export here to understand the difference. |
Beta Was this translation helpful? Give feedback.
-
The KeepAlive setting for the MQTT connections can help with disconnecting. This can be set in configuration for both MQTT Export and MQTT Trigger. Please refer to MQTT external specs for appropriate values. |
Beta Was this translation helpful? Give feedback.
The KeepAlive setting for the MQTT connections can help with disconnecting. This can be set in configuration for both MQTT Export and MQTT Trigger. Please refer to MQTT external specs for appropriate values.