[zeromq-dev] PUB doesn't discard msg when no SUB
sustrik at 250bpm.com
Thu May 26 21:39:50 CEST 2011
On 05/26/2011 09:27 PM, Li, Jia wrote:
> Putting timestamp can be a work-around, but not efficient, as the SUB
> has to compare current time against message time for every message.
> It'd be nice to have this behavior either explained in the Guide or
> brought consistent with the intended usage.
Try setting HWM to 1 on the PUB side. That should drop any outstanding
messages except for one.
More information about the zeromq-dev