[zeromq-dev] Maybe a ZMQ_LOST socket
Martin Sustrik
sustrik at 250bpm.com
Wed Jun 29 23:21:20 CEST 2011
Hi Min,
> Instead, what if another socket buffer, ZMQ_LOST, could gather the lost
> messages only when programmer declare the ZMQ_LOST socket and attach to
> the ROUTER.
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).
Thus, there's no way to handle the messages in dead letter queue in
automated manner. You have to check them one by one, manually, by
looking into the database, making a telephone call or similar.
Martin
More information about the zeromq-dev
mailing list