[zeromq-dev] Authentication and filtering

Pieter Hintjens ph at imatix.com
Sat Dec 28 08:49:59 CET 2013


On Sat, Dec 28, 2013 at 7:57 AM, Dmitriy Vsekhvalnov
<dvsekhvalnov at gmail.com> wrote:
> I probably didn't specify my concerns about filtering clear enough. If
> filter set to empty - sub will receive all events? That's not acceptable,
> workers should never receive events that are not dedicated to it.
>
> Also I don't think pub/sub will work, because pub broadcasts messages to all
> subs. And again this is not what we need, event should be processed not more
> than once.

You should perhaps start by reading the Guide and learning the basics.
Pub-sub uses a prefix match. If you make no subscriptions, you get
nothing. If you subscribe to "A" you get all messages starting with
"A". If you subscribe to "", you get all messages.

-Pieter



More information about the zeromq-dev mailing list