Skip to main content



      Home
Home » Eclipse Projects » Mosquitto » topic remapping and bridging Mosquitto to self(remap single topic to dual end points)
topic remapping and bridging Mosquitto to self [message #1790398] Sat, 09 June 2018 04:53
Eclipse UserFriend
Hi,

I like to remap topics in mosquitto broker and so bridge the broker to itself as below. If I need to map a single topic(A/out) to multiple output topics(B/in and C/in), I need to create two bridges as below
connection bridge1
address localhost:1883
topic "" out 2 A/out B/in

connection bridge2
address localhost:1883
topic "" out 2 A/out C/in

Two queries.
1. Is it advisable to bridge a broker to itself? I will avoid loops. Any other precautions necessary?
2. Is it possible to do this with out creating multiple bridges? I tried below which didnt work.
connection bridge0
address localhost:1883
topic "" out 2 A/out B/in
topic "" out 2 A/out C/in

Thanks,
Kiran.
Previous Topic:Installation Mosquitto Getting Issue of ddl
Next Topic:Control arduino via MQTT
Goto Forum:
  


Current Time: Fri Jul 04 23:09:41 EDT 2025

Powered by FUDForum. Page generated in 0.03696 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top