You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Similarly to issue #172 it would be very useful to be able to set publish options when publishing a message to mqtt.
For example, it allows to define QoS or if message should be retained.
See https://www.npmjs.com/package/mqtt#publish for all details.
This could be done by using this.client.publish(topic, msg, this.config.publishOptions) instead of this.client.publish(topic, msg) in mqtt.js and setting options in the mqtt output module accordingly.
The text was updated successfully, but these errors were encountered:
Hi,
Similarly to issue #172 it would be very useful to be able to set publish options when publishing a message to mqtt.
For example, it allows to define QoS or if message should be retained.
See https://www.npmjs.com/package/mqtt#publish for all details.
This could be done by using
this.client.publish(topic, msg, this.config.publishOptions)
instead ofthis.client.publish(topic, msg)
in mqtt.js and setting options in the mqtt output module accordingly.The text was updated successfully, but these errors were encountered: