[zeromq-dev] Can drop the first message when high water mark has been reached with socket ROUTER ?

Pieter Hintjens ph at imatix.com
Sun Mar 27 10:34:02 CEST 2016

No, you cannot drop older messages in pipe buffers to make space for
newer ones. This is technically impossible without slowing things down

A good approach is to use credit-based flow control to avoid ever
sending more data than the receiver expects and asks for. There's a
discussion of this in the Guide and examples.

On Thu, Mar 24, 2016 at 7:08 PM,  <linkman2002 at sina.com> wrote:
> Hello all:
>     When high water mark has been reached with socket ROUTER, the newest
> message will droped.
>     Can I change this behaviour, but drop the first buffered  message?
>     If can not, how can I  reach this goal?
> thanks,
> Linkman 2016/3/25
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list