[zeromq-dev] Can a pub-sub endpoint have multiple publishers?

Pieter Hintjens ph at imatix.com
Mon Apr 14 21:57:04 CEST 2014


Reading the Guide is OK. Actually trying to examples and learning the
basics is usually better. The answer to your question is, that's not
quite how it works. You can connect all subscribers to all publishers,
or you can create proxies in the center, but there is no such thing as
a "pub sub endpoint" in a ZeroMQ network.

-Pieter

On Mon, Apr 14, 2014 at 7:27 PM, James Renkel <james at mfluent.com> wrote:
> The communication pattern of our application is best described as a
> "message bus": all messages sent by any "sender" on the bus are
> delivered to all "receivers" on the bus.
>
> After having read the ZMQ guide, it seems that the "pub-sub" pattern is
> the closet match to this, if a pub-sub endpoint can have multiple
> publishers.
>
> I couldn't find anything that specifically prohibits this, but I also
> couldn't find anything that specifically permits this.
>
> So the question is really simple: can a pub-sub endpoint have multiple
> publishers, such that all messages published by any publisher will be
> delivered to all subscribers?
>
> Has this been tried and is it known to work, or are will be be breaking
> new ground here? We're not opposed to that, we just want to know what
> we're getting ourselves in for.
>
> Thank you in advance for your attention to this.
>
> Jim Renkel
> Senior Technical Staff
> mFluent, Inc. LLC
> mailto:james at mfluent.com
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list