Has anyone work with this scenario? Any information about the filter on the publisher side?
On Wed, Aug 21, 2013 at 10:42 PM, <[email protected]> wrote: > Hi, everyone > > In ZMQ guide http://zguide.zeromq.org/page:all, I read: > > > - From ØMQ v3.x, filtering happens at the publisher side when using a > connected protocol (tcp: *or ipc:*). Using the epgm:// protocol, > filtering happens at the subscriber side. In ØMQ v2.x, all filtering > happened at the subscriber side. > > > So, I need to implement this scenario: > > 1. In publisher side: PUB > 2. In subscriber side: SUB1, SUB2 > 3. PUB can send characters from A to Z. > 4. SUB1 ONLY receive C character > SUB2 ONLY receive D character. > > How to setup PUB side filter which can send C to SUB1 and D to SUB2? > This is like that a mailbox only receive his newspapers or magazines, not > receive all mails and "filter" by itself. I wander PUB side filter is that > clever postman :) > > If filtering happens at sub side, PUB will send all the message(A-Z > characters) to all the SUBs, which occupy too much network resource and be > not efficient. > > > Anyone can help? > > Thanks > > Roy. >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
