zeromq.js
zeromq.js copied to clipboard
Where is CONFLATE option or equivalent behaviour?
Hi there, first of all, thank you for implementing and maintaining this very useful protocol. I use it in pretty much all my apps.
I could not find CONFLATE socket option flag. Is it not implemented? I have a problem where I'm subscribing to a publisher that's bombarding me and I want to make sure that I only keep the latest message if many messages are received in a row. I believe the way to do this is to set CONFLAT on the subscriber side.
- Where is CONFLATE option for subscriber socket?
- Is there a better solution to make sure when publisher sends too many messages, I only keep the last message?
Thank you, spacemonkey
I think you need to use the latest beta version to get the conflate option. v6.0.0-beta.6.