Retain Messages via HiveMQ Edge

want to retain messages in hivemq edge broker since mqtt client doesnot have the feature to add a retain flag.

Hello @lakshay

Welcome to the HiveMQ community forum. Glad to see that you are interested in MQTT and HiveMQ Edge.

Could you please share more details(name, version) about your MQTT client’s library that you are referring here?

Additionally, we wanted to let you know that HiveMQ Edge offers MQTT Packet interceptors, which allow you to modify packets to suit your needs, such as setting the retain flag for PUBLISH packets. This could potentially help with your use case. You can find more information with examples about this in our documentation:

Please take a look, and let us know if you have any further questions. We’re here to help!

Regards,
Sheetal from HiveMQ team