Revision history [back]

Multiple subscriber to one topic

Hello,

Simple comprehension problem. I though that when a message on a topic was read by a subscriber it was "erased" just after. If I have, lets say, two subscribers on one topic, when new information is available, do all subscriber are going to receive the same message ? It makes sense but I never considered it that way =). So I just want confirmation.

For example if I have a subscriber with a very complex and long callback while I have a very short callback for the other subscriber, I guess it's their queue size that is going to determine which message are going to be used by he Callback but overall, thy are gong to have access to the same message. Is it correct ?

Like :

Message 1 on topic -|----> Message 1 to Subscriber 1 if space available in queue
|----> Message 1 to Subscriber 2 at the same time if space available in queue


Thanks