[zeromq-dev] Publisher side filtering...

Pieter Hintjens ph at imatix.com
Fri Oct 22 17:16:04 CEST 2010


On Fri, Oct 22, 2010 at 5:09 PM, Gerard Toonstra <gtoonstra at gmail.com> wrote:

> So far, I intended to use a REQ/REP socket for clients to communicate with
> brokers directly to communicate their configuration/intention
> (registration on topics, topic publication, etc.). Another PUB/SUB pair is
> then used to actually carry the data messages. The application / broker
> memory then maintains a subscription registry for each connected client
> and this way knows what the subscriptions are.

You can also do (subscription management and server-side routing) this
using a single XREP socket, with the clients using an XREQ socket.
See Chapter 3 of the Guide.

-
Pieter Hintjens
iMatix - www.imatix.com



More information about the zeromq-dev mailing list