emqx / emqx-plugin-template

EMQX Plugin Template and Demo
https://www.emqx.io
Apache License 2.0
73 stars 71 forks source link

How to call emqx client api in hook? #95

Closed juexun closed 2 years ago

juexun commented 3 years ago

Hi, I'm writing an mysql backend plugin. I had stored the user subscribed topic list in mysql. I want to resubscribe the topic while reconnecting. And how can I send offline message back to client while reconnecting. Can any body have any information about it. Thanks very much.

zmstone commented 2 years ago

Hi @juexun Could you please post the question to emqx discussion ? https://github.com/emqx/emqx/discussions