What is the difference between observer and subscriber?

In the observer pattern, the observers are aware of the Subject . The Subject maintains a record of the Observers . Whereas, in publisher-subscriber, publishers and subscribers don’t need to know each other. They simply communicate with the help of message queues or a broker.

Sizin İçin Seçtik  Coin vergisi var mı?

Leave a Reply

Your email address will not be published. Required fields are marked *