Hi,
I am trying to use Dynamic Subscription on MQTT to read all the available published Topics from a MQTT broker. The reason is we don't know all the published Topic beforehand and need an automatic discovery method to retrieve the full Topic listing.
I am testing using the Aedes MQTT Broker module loaded on the same PC and the default MQTT read client node. 2 test injection with different Topic label are pushed to the Aedes MQTT.
Connecting a direct MQTT read is working as expected when known Topic is entered in the setting.
However, nothing return when trying to connect using Dynamic Topic Subscription method. Below is the flow setup:
[{"id":"9d752516c0511ccf","type":"mqtt in","z":"6265e7c68514376d","name":"","topic":"","qos":"2","datatype":"utf8","broker":"ec674c1c.f707b","nl":false,"rap":true,"rh":0,"inputs":1,"x":310,"y":520,"wires":[["fc4eac98f644f279"]]},{"id":"ec674c1c.f707b","type":"mqtt-broker","name":"nipi","broker":"localhost","port":"1883","clientid":"","autoConnect":true,"usetls":false,"compatmode":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""}]
I have tried installing different MQTT client with Dynamic subscription but none seems to work.
Any advise is greatly appreciated.
Best Regards,
KC