[zeromq-dev] Maybe a ZMQ_LOST socket

Min miniway at gmail.com
Thu Jun 30 06:41:41 CEST 2011


Thanks for the response.

I just hoped the broker could look into or poll the timeout-ed dead letters
at a further milestone.


Thanks
Min

2011/6/30 Pieter Hintjens <ph at imatix.com>

> On Wed, Jun 29, 2011 at 4:21 PM, Martin Sustrik <sustrik at 250bpm.com>
> wrote:
>
> > This is called "dead letter queue" in MQ-speak.
> > However, it probably doesn't have the semantics you expect it to have.
> >
> > It's not a queue of lost messages, rather it's a queue of messages with
> > unclear status. They may have been lost, but they may have been
> > delivered (only the delivery acknowledgement was lost).
>
> In any case, ROUTER will queue and hold messages to peers that have
> gone offline, and the only way to dead-letter these would be with a
> timeout on connection (at which stage any undelivered messages could
> be dead-lettered).
>
> As for invalid addresses, since this is an application error by
> definition, I'd argue it's worth making this assert. (Especially if we
> kill explicit identities and thus any scenario where ROUTER discarding
> a message makes sense).
>
> -Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110630/1dc98a79/attachment.htm>


More information about the zeromq-dev mailing list