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

Pavel Gushcha pavimus at gmail.com
Thu Sep 10 20:41:31 CEST 2009


I'm awatiting this functional in 0MQ 1.0. As i know, there is "routing"
development branch. Do you plan to merge this functionality in master branch
of 0MQ 1.0?

2009/9/10 Martin Sustrik <sustrik at fastmq.com>

> Chad,
>
>  Thanks for your hard work on this release.  What is the best way to
>> implement pub-sub in 0MQ/2.0?
>>
>
> I've implemented a cheap and nasty version of pub/sub message filtering
> (GIT rev. cc165d1). It's slow and allows only for exact matches (no
> wildcards) but it's good enough to demonstrate how the API works.
>
> - Subscription (and unsubscription) is done via setsockopt function.
>
> - Topic is to reside at the beginning of the message in form of single byte
> length followed by the topic itself. So, for example, message "ABC" with
> topic "xyz" is encoded as "\x03xyzABC".
>
> See attached test programs for details.
>
> Martin
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090910/47b621fb/attachment.htm>


More information about the zeromq-dev mailing list