In pub/sub model one messages delivered to all the subscribers. So i need to know how it happen internally? for example when publisher send a message to topic how it sends same message to all the subscribers?
does subscriber send same message multiple time or topic send same message multiple time to subscribers?
The subscriber doesn't send any messages. Probably you meant to ask about the publisher?
Anyway, what exactly is your concern? Whether the subscribers all get the same message or whether they each get a copy of the message? If you're writing subscriber code, all you need to write is code to receive a published message. Who sends the message, or whether some other subscriber gets the same message (or a copy of it) aren't things which you have to take into account.
posted 5 months ago
I need to know when publisher send a one message , how all the subscribers get same message? since publisher send one message , one subscriber can consume it.