Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
Description
Created question in FIWARE Q/A platform on 10-08-2022 at 15:08
Please, ANSWER this question AT https://stackoverflow.com/questions/73309310/mqtt-topic-transform-in-mosquitto
Question:
MQTT topic transform in Mosquitto
Description:
I'm working on integrating a Shelly sensor(https://shelly.cloud/) into an existed IoT system FIWARE(https://www.fiware.org/). The sensor can publish the monitoring data via MQTT with JSON payload.
Shelly sensor published the data at topic
/events/rpc, but the FIWARE can only subscribe on topic /json/api-key/device-id/attrs. The topic of publication and subscription are different now. In our application, we use Mosquitto as an MQTT broker, is it possible to do the topic transform in Mosquitto broker?
I think Mosquitto has full knowledge of topics and can do the topic mapping and transformation easily. Does anyone have an idea or information for this? I think it's much easier than to re-build and customize the FIWARE system.
2022-08-11 05:31|CREATED monitor | # answers= 1, accepted answer= True