Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Publisher Subscriber – Subscribe to Selected Messages in a Topic

I am looking at designing a Publisher/Subscriber Event Broker/Messaging System to communicate between Microservices.
Suppose I have 50 PODS subscribed to a topic called "Cars". Few of the PODS are only interested in receiving messages for "Ford", while some others are interested in messages for "Toyota, Honda" (both of them).

Can Topic be made dynamic like Cars/{CarName}, so when the publisher send data for "Ford" to the channel, its sent to only PODS subscribed for "Ford"?

I was particularly looking at Solace PubSub+. Are there other products that can achieve the same result?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Yep, it’s actually a best practice in Solace to use hierarchical topics with information in the topics that you want to filter on.

Topic Best Practices: https://docs.solace.com/Messaging/Topic-Architecture-Best-Practices.htm?Highlight=topic%20best%20practices

Quick YouTube Video: https://www.youtube.com/watch?v=PP1nNlgERQI&ab_channel=Solace

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading