Note: this page has no current value, it exists for historical reasons only. 3.0 was largely experimental and was abandoned because it was too incompatible with 2.1.
For reference, here's the list of changes introduced by ØMQ/3.0:
- Obsolete constants ZMQ_UPSTREAM and ZMQ_DOWNSTREAM removed. Use ZMQ_PUSH and ZMQ_PULL instead.
- Timeout in zmq_poll is in milliseconds instead of microseconds. This makes zmq_poll() compliant with POSIX poll()
- ZMQ_MCAST_LOOP removed. There's no support for multicast over loopback any more. Use IPC or TCP isntead.
- Pre-built devices and zmq_device() removed. Should be made available as a separate project(s).
- ZMQ_SWAP removed. Writing data to disk should be done on top of 0MQ, on inside it.
- C++ binding removed from the core. Now it's a separate project, same way as any other binding.
- zmq_send/zmq_recv was renamed zmq_sendmsg/zmq_recvmsg.
- POSIX-compliant zmq_send and zmq_recv introduced (uses raw buffer instead of message object).
- ZMQ_RECOVERY_IVL and ZMQ_RECOVERY_IVL_MSEC reconciled. The new option is named ZMQ_RECOVERY_IVL and the unit is milliseconds.
- Option types changed. Most of the numeric types are represented as 'int'.
- ZMQ_HWM split into ZMQ_SNDHWM and ZMQ_RCVHWM. This allows to control message flow separately for each direction.
- ZMQ_NOBLOCK renamed ZMQ_DONTWAIT. That makes it POSIX-compliant.
- ZMQ_MULTICAST_HOPS socket option added. Sets the appropriate field in IP headers of PGM packets.
- Subscription forwarding. Instead of filtering on consumer, subscription is moved as far as possible towards publisher and filtering is done there.
- ZMQ_XPUB, ZMQ_XSUB introduced. Allow to create subscription-forwarding-friendly intermediate devices.
- Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO. Allow to set timeout for blocking send/recv calls.
- LABEL flag added to the wire format. The flag distinguishes message parts used by 0MQ (labels) from user payload message parts.
- New wire format for REQ/REP pattern. First, bottom-of-the-stack message part is not needed any more — LABEL flag is used instead. Second, peer IDs are 32-bit integers rather than UUIDs.
- REQ socket drops duplicate replies.
- Outstanding requests & replies associated with a client are dropped when the clients dies. Performance optimisation.
- Introduce ZMQ_ROUTER and ZMQ_DEALER sockets. These mimic the functionality of ZMQ_ROUTER and ZMQ_DEALER in 0MQ/2.1.x. Guarantees backward compatibility for exsiting code.
- Removed dependency on OS socketpair buffer size. No more asserts in mailbox.cpp because of low system limit of sockepair buffer size.
- Make pkg-config dependency conditional.
Written: 04 Aug 2010 19:09
Revised: 27 Apr 2012 07:07
If you found this page useful, please rate it up so others will find it.
- An Introduction to ØMQ
- Coding Style Guidelines
- Guidelines for ØMQ bindings
- Installing on Windows
- libzmq Source Git Repository
- Mailing Lists
- Message API Goals
- ØMQ Contribution Policy
- ØMQ Cookbook
- ØMQ Distributions
- ØMQ Labs
- ØMQ Owners
- ØMQ Release Policies
- ØMQ/2.1 Class Diagram
- ØMQ/3.2 Roadmap
- Process Manager
- Projects using ØMQ
- Reporting and Tracking an Issue
- The native ØMQ API (libzmq)
- The ØMQ Guide
- The Ten Minute Talk
- Trademark Policy
- Tuning ØMQ
- Upgrading from 2.0 to 2.1
- Upgrading from libzmq 2.x to 3.2
- Using Valgrind
- Welcome from AMQP
Who's watching this page?pieterh
... and more