← Back to team overview

mosquitto-users team mailing list archive

Re: QoS and delivery

 

Alfonso

This is a publish-subscribe system not a queuing system (despite the
name!). In a queueing system the default behaviour is that only one client
gets the message, thought there are other patterns built on top of that
(e.g. AMQP fanout that you mention). But in a pub-sub system, every
subscriber that is active gets the message.

So to answer your question 1, both subscribers get that message.

Therefore q2 is not relevant.

Paul


On Sun, Dec 1, 2013 at 3:47 AM, Alfonso Pantoja
<alfonso.pantoja@xxxxxxxxx>wrote:

> Hi Roger,
>
>
>
>> No, it isn't currently possible.
>>
>>
> Ok, thanks for clarifying this.
>
>
> I'm not entirely sure what you mean. Could you clarify?
>>
>>
> Sure. Maybe I missed something... first question would be:
>
>  If two subscribers are listening  to the same topic and one message is
> published using  that topic, do both of them receive the message or the
> broker performs a round robin or similar process and only one of them gets
> the message?
>
> In case only one of the subscriber receives the message my second question
> is:
>
> How just a single message with a specific topic can be broadcasted using
> Mosquitto and therefore received by all subscribers listening to that
> topic?
> (I meant something similar to a 'fanout' queue in RabbitMQ)
>
>
> Regards,
>
> Alfonso
>
> --
> Mailing list: https://launchpad.net/~mosquitto-users
> Post to     : mosquitto-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mosquitto-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References