[zeromq-dev] Publisher/Subscriber concept

Pieter Hintjens pieterh at gmail.com
Tue Apr 6 09:00:25 CEST 2010


On Tue, Apr 6, 2010 at 6:58 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

>> Hi. I'm starting to use Zeromq, and would like to know what happens with
>> messages published and not consumed. Are them erased? Or they are
>> acumulated until some subscriber consumes it?
>
> They are accumulated (queued). That's what MQ in 0MQ stads for. It's
> "message queueing".

I think this depends on what Guilherme means by "consumed".  If it's
"subscribe", then messages will not be queued.  If it's "subscribed
but not yet collected off queue", then messages are queued.  Right?

-Pieter



More information about the zeromq-dev mailing list