[zeromq-dev] How to subscribe to many publishers?

Michal Vyskocil michal.vyskocil at gmail.com
Wed Dec 23 14:12:46 CET 2015


Malamute already solves your problem. It afaics use dealer sockets, so it's
worth to try it our study the source code...

In our scenario,  there are many publishers and many subscribers,
And we need to queue message received from publisher.

So we bring in a proxy(or named broker), which subscribe to all publisher
push queued message to all subscribers.

The proxy use SUB socket for subscribe publishers,
so it need to connect to all publishers first,
but new publishers will be created when the proxy is running.

So my question is:

1. If it is suitable to use proxy in this scenario
2. How can the proxy receive message from new created publishers

Any idea will be appreciated!

zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151223/0e510856/attachment.htm>

More information about the zeromq-dev mailing list