[zeromq-dev] Caution: Wire format changed!

Martin Sustrik sustrik at 250bpm.com
Mon Mar 15 09:05:10 CET 2010


Hi Dhammika,

> Why don't we add a protocol version? zmq servers can check the version
> and drop messages they don't support.

Rather than negotiating the version, implementations can simply drop the 
  messages that have unrecognised flags set IMO.

> Any thoughts on supporting different wire protocols? Idea is to talk
> to non-zmq servers, ie. redis/memcached. We don't have API hooks for
> this, but we can have pluggable encoder, decoder and msg types.

It can be done, but it requires modifying the 0MQ codebase. Allowing for 
hooking in different protocols would be nice, but it would require some 
work on the hook-in API. Any proposals?

Martin



More information about the zeromq-dev mailing list