linksmart / device-gateway

Process orchestrator and gateway between the low-level hardware access and HTTP/MQTT protocols.
Apache License 2.0
2 stars 0 forks source link

Enhance MQTT broker for multiple resources #42

Open agtzdimi opened 5 years ago

agtzdimi commented 5 years ago

Currently, only one MQTT broker is used as a global endpoint in the main configuration file.

It would be useful to to bind each resource to a different IP at least for publish events.

For example, having two resources i.e res1, res2. It would be nice if res1 is subscribing to topic 'localhost:/topic/res1' and publishing to 'IP1:/topic' and res2 is subscribing to topic 'localhost:/topic/res2' and publishing to 'IP2:/topic'