[zeromq-dev] Feedback on new PATCH socket

Martin Sustrik sustrik at 250bpm.com
Mon May 9 11:58:52 CEST 2011


On 05/08/2011 03:48 PM, Fabien Ninoles wrote:

>> I would love to replace multi-part messages by message+labels
>> system, however, this is not backward compatible and thus unlikely
>> to happen in 0MQ. You will probably find it in the future
>> implementations such as Linux kernel implementation.
>
> How this break backward compatibility ?  Frames already have flags,

I meant replacing MORE flag by LABEL flag. That would mean removing 
multi-part capability from 0MQ API.

However, you are right that a new flag can be added to the old one. Do 
you want to implement that?

> and you can keep the old API for the MORE flags or add a KEEPFLAGS
> option in the zmq_send API.  This will allow future implementation to
> be even more robust (on the principle of "If you don't know it, don't
> touch it."). Right now, there is no way to ensure that a ZMQ
> application can preserve all flags set on a message, which is a big
> handicap for forward compatibility.

Yep. That was already proposed to be implemented.

Martin



More information about the zeromq-dev mailing list