[zeromq-dev] 0MQ/2.0 - alpha version available

Pavol Malosek malosek at fastmq.com
Thu Sep 10 09:09:15 CEST 2009

Hello Chad,

pub-sub semantics is not functional yet. Just now we are implementing message filtering (subscriptions). 
It has the top priority so will be available soon.

Together with pub-sub we are working on multicast bus implementation, should be ready soon (Linux platforms).

Stay tuned.


  ----- Original Message ----- 
  From: Chad Harrington 
  To: Martin Sustrik 
  Cc: zeromq-dev at lists.zeromq.org 
  Sent: Thursday, September 10, 2009 12:36 AM
  Subject: Re: [zeromq-dev] 0MQ/2.0 - alpha version available

  Thanks for your hard work on this release.  What is the best way to implement pub-sub in 0MQ/2.0?

  Chad Harrington
  chad.harrington at gmail.com

  On Wed, Sep 9, 2009 at 5:55 AM, Martin Sustrik <sustrik at fastmq.com> wrote:

    Hi all,

    Alpha version of 0MQ/2.0 is finally available:


    We are moving to the tighter release cycle, with alpha, beta and release
    candidate stages. You should be aware that alpha versions are
    functionally incomplete and possibly buggy. However, they allow you to
    catch with the progress early on and provide feedback to the developers.

    The main improvement in 0MQ/2.0 is socket-like API, much simpler than
    0MQ/1.0 AMQP-like API. Here's an example how to send and receive a
    message in C++:

    zmq::context_t ctx (1, 1);
    zmq::socket_t s (ctx, ZMQ_REQ);
    s.bind ("eth0:5555");

    zmq::message_t msg (3);
    memcpy (msg.data (), "ABC", 3);
    s.send (msg);

    s.recv (&msg);

    Additionally, 0MQ/2.0 eliminates the need for zmq_server thus getting
    rid of the only single point of failure in the system.

    Also, fail-safe was replaced by reporting errors via standard POSIX errnos.

    As for now 0MQ/2.0 works on Linux and Windows. It can be used from C and
    C++, Java, Python and Ruby.

    zeromq-dev mailing list
    zeromq-dev at lists.zeromq.org


  zeromq-dev mailing list
  zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090910/9325c475/attachment.htm>

More information about the zeromq-dev mailing list