Open juergen-albert opened 2 months ago
Currently the MQTT addon for Sensorethings starts it own MQTT Server. This is convenient, but we should also provide a Version, that can use an existing MQTT Server.
This is not possible. The entire specification is predicated on being able to see which topics a listener is registered to. This is not possible as part of the MQTT standards, and requires a provider-specific hook in implementations which do support it. In the case of Moquette this is a callback interface registered with the broker when it starts.
Ah, okay. I wasn't aware of that part. Instead of using MQTT we might want to think about live data updates via SSE or Websockets.
Given that it isn't possible to achieve, can we close this issue?
Currently the MQTT addon for Sensorethings starts it own MQTT Server. This is convenient, but we should also provide a Version, that can use an existing MQTT Server.