is mqtt support both one to many and many to one?

7 years 2 months ago #2215 by nithinkk
Recently I had read an iot article www.eclipse.org/community/eclipse_newsle...ebruary/article2.php In this he is saying that, by mqtt protocol clients can communicate both in one to many and many to one ways. In the mqtt spec itself mentioning about the one to many but I had little confusion in many to one. What I understood is, many clients are publishing on same topic and there is only one subscriber for these different publishers.Then how the subscriber(user) should identify message belongs to which publisher? Another doubt, if two publishers used the same topic to publish their data without knowing each other, because of every client is connected to the internet, the subscriber will get both the datas. But that is not what the subscriber expected.He wants data from only one publisher. Is there any chance to occur the same scenario in mqtt communication?

Please Log in or Create an account to join the conversation.

Time to create page: 0.266 seconds

Forum latest

  • No posts to display.