Mosquitto Broker Bridge-mode: Why i'm recieving the published message one more time than expected? [message #1849522] |
Sun, 23 January 2022 16:28 |
Panagiotis Giannelos Messages: 1 Registered: January 2022 |
Junior Member |
|
|
i finally made my mosquitto local broker bridge with the AWS iot broker work, but i'm experiencing some weird (according to my understanding) behavior.
I have set the topic like that in the config file topic
According with the documentation, that means if i publish to b1/topic on the local broker, then the remote broker will receive a message on the topic b2/topic and vice versa (if i publish to b2/# from remote broker, the local broker will receive a message on the topic b1/#).
The second example seems to work fine, but when i'm publishing to b1/topic from local broker, i receive the message normally as b2/topic on the remote subscriber, but i also receive the message twice on a local subscriber to topic b1/#.
The flow on a node-red example will make you understand better my question (in the image below)
|
|
|
Powered by
FUDForum. Page generated in 0.02993 seconds