Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
BaSyx / Documentation / Components / DataBridge / Features / Protocol Integration / MQTT
< BaSyx | Documentation | Components | DataBridge | Features
Revision as of 05:39, 1 February 2023 by Unnamed Poltroon (Talk) (Created page with "= MQTT = The MQTT broker can be integrated with DataBridge. The paho component provides a connector for the MQTT messaging protocol using the Eclipse Paho library. == Configu...")
Contents
MQTT
The MQTT broker can be integrated with DataBridge. The paho component provides a connector for the MQTT messaging protocol using the Eclipse Paho library.
Configuration
To configure MQTT source in DataBridge you need to provide the unique id, and the MQTT broker server details like host, port, and the topic.
Sample Configuration
[ { "uniqueId": "property1", "serverUrl": "localhost", "serverPort": 1884, "topic": "Properties" } ]
Similarly, you can configure multiple MQTT brokers inside the configuration file.
Naming Convention
The name of the MQTT configuration file should be mqttconsumer.json.
Working Example
The integration example with MQTT as a data source, JSONata as a transformer, and AAS as a data sink is on GitHub DataBridge Example.