Pub-sub interoperability between 2.x and 3.x

Description

Currently it's unsafe to upgrade parts of a distributed network from 2.x to 3.x, since the pub-sub protocol was extended in 3.x (to upstream subscriptions). This issue is for adding version detection to the 3.x PUB and SUB sockets so they will emulate 2.x when talking to older components.

Environment

None

Activity

Show:

Lourens Naudé August 5, 2012 at 12:11 AM

Hi Pieter,

Took a stab at back porting Martin Sustrik's 2.1 wire protocol compatibility patches from Crossroads I/O and added :

  • Docs for the ZMQ_PROTOCOL option

  • Stricter validation for the protocol version

  • Backwards compatibility is enabled with the socket option, which isn't ideal, but it's a card on the table. Thoughts on automatic detection ?

https://github.com/zeromq/zeromq3-x/pull/26

  • Lourens

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created August 3, 2012 at 1:50 AM
Updated August 29, 2013 at 4:32 PM
Resolved September 8, 2012 at 6:50 AM