You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I can find out which remote broker the bridge is connected to by subscribing to "$SYS/broker/log/N", but because subscribing to this topic means I get all notices and not just the one I want, I have to parse through the data looking for messages of the form:
1504063227: Connecting bridge foo (1.2.3.4:1883)
It would be really nice if there was a specific topic that one could subscribe to in order to find out which remote broker the bridge is currently connected to. I suppose if there's no connection at all, then an empty address:port message could be delivered? Doing so would obviate the need for me to also subscribe to $SYS/broker/connection/+/state in order to find out if there's an active connection or not.
Thanks for reading.
The text was updated successfully, but these errors were encountered:
cjmaynard
changed the title
Bridge Enhancement: Add a topic for the current remote broker address.
Bridge Enhancement: Add a topic for the current remote broker address:port.
Aug 29, 2017
Currently I can find out which remote broker the bridge is connected to by subscribing to "
$SYS/broker/log/N
", but because subscribing to this topic means I get all notices and not just the one I want, I have to parse through the data looking for messages of the form:It would be really nice if there was a specific topic that one could subscribe to in order to find out which remote broker the bridge is currently connected to. I suppose if there's no connection at all, then an empty address:port message could be delivered? Doing so would obviate the need for me to also subscribe to
$SYS/broker/connection/+/state
in order to find out if there's an active connection or not.Thanks for reading.
The text was updated successfully, but these errors were encountered: