[zeromq-dev] Publisher/Subscriber concept

Martin Sustrik sustrik at 250bpm.com
Tue Apr 6 12:51:21 CEST 2010


Pieter Hintjens wrote:
> 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?

Yes.

Martin




More information about the zeromq-dev mailing list