We have to design a message queue supporting publisher-subscriber model.
https://youtu.be/4BEzgPlLKTo
Check here