[zeromq-dev] Fwd: Re: "Who said that?"

Martin Sustrik sustrik at 250bpm.com
Tue Dec 21 09:08:56 CET 2010

On 12/20/2010 09:21 PM, Oliver Smith wrote:
> Martin Sustrik said the following on 12/17/2010 5:15 AM:
>> By bad data you mean malformed 0MQ frames? With 2.1 those are
>> discarded silently and the connection is closed. We should also report
>> the problem via sys://log.
> No, it's probably data getting reused before it is transmitted - i.e. my
> issue, but it's very hard to track down because I don't know which of
> the many nodes is sending it :) The only way I can track that down is to
> send everything to separate ports and collate at the receiver, until I'm
> done debugging, and then reunify all of them again.

Ok. So what's needed is message tracking for debugging purposes. Fair
enough. So what about, for example, writing a simple wrapper over
zmq_send() that would attach a message part containing identity of the
particular node to every message?


More information about the zeromq-dev mailing list