-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with persistent config EMQ 2.3.11 #240
Comments
mqueue is not persistent config, it store the message in memory rather than disk for session, if you want persistent feature of emqx, please contact with @zhengyupan for enterprise edition. |
Thanks !! |
@gilbert-wong , At present I do not bother whether mqueue is in memory or writes to disk.. even if it is in-memory holding the msg - it should deliver to the subscriber once it is back. My EMQ broker instances does not restart so the in-memory should be intact to persist msgs. What are your comments on this ? |
The numbers of message in mqueue is limited by you memory and if the session of your mqtt client has been expired , broker would not holding the msg ,the enterprise could solve this problem |
Thanks @gilbert-wong, appreciate your prompt response. |
With cleansession = false ; the in-memory persistent is still not working |
@gilbert-wong, thanks Now I am only awaiting the enterprise version so that I can also perform disk writes. Thanks again for the help |
I need to understand how the persistent conf works as defined in the emq.conf.
When my subscriber client is disconnected from the n/w (due to any failure), the msgs from the publisher are reported dropped by the EMQ broker. I require these msgs to be delivered to the subscriber once it comes back. Is there any other configuration which is needed to be taken care in conjunction.
/*
mqtt.mqueue.type = simple
mqtt.mqueue.max_length = 0
mqtt.mqueue.low_watermark = 20%
mqtt.mqueue.high_watermark = 60%
mqtt.mqueue.store_qos0 = true
*/
The text was updated successfully, but these errors were encountered: