Hi all,

I have set up a bridge from msoquitto on a remote device to mosquitto on a
central server - it was awesomely easy!

Now I would like to know if it is possible to add the remote username in
the bridge's topic mapping, like I can in an ACL.

I have this in my remote device's mosquitto.conf:

connection testbridge
address 192.168.1.10
topic /test/# in 2 /server""
topic /test/# out 2 "" /remote/%u

But publishing to /test/hello results in /remote/%u/test/hello across the
bridge - the %u is not replaced.

Does anyone have an ideas as to how I can accomplish this? Is it even
possible? Is it a dumb idea?

Thanks in advance.

- Andy
-- 
Mailing list: https://launchpad.net/~mosquitto-users
Post to     : mosquitto-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mosquitto-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to