bersim / OpenKPs

10 stars 9 forks source link

Retain flag on published topics #3

Closed robynjayqueerie closed 6 years ago

robynjayqueerie commented 6 years ago

I was looking to see if your code has the option to set the retain flag on published topics. I don't see any mention of it. We need that feature for our projects. http://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages Thanks

bersim commented 6 years ago

Add option Retain. Example config