[zeromq-dev] [PATCH] Publisher side filtering (2)

Martin Sustrik sustrik at 250bpm.com
Fri Jan 14 19:48:24 CET 2011


Hi Gerard,

> So to confirm... this does give a message per subscription, where
> developers will be able to extract the data part (without 0/1)

The message contains data part as well as 0 or 1. So, if you receive a 
message from XPUB it will look something lik "\01abc".

> from the sub request, such that based on that topic, things like
> filtering or routing can be performed in devices?

You can build anything you want into a device. The generic device 
(zmq_device) simply forwards the subscriptions further on upstream.

Martin



More information about the zeromq-dev mailing list