Does the Topic format in PubSub MQTT UADP contain redundant information?|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Does the Topic format in PubSub MQTT UADP contain redundant information?
Avatar
nqduy35
New Member
Members
Forum Posts: 1
Member Since:
07/23/2020
sp_UserOfflineSmall Offline
1
12/16/2024 - 23:49
sp_Permalink sp_Print

Hello,

I have a question about the concept of the Topic in PubSub MQTT UADP. As what I read in here , the official Topic format should be: 

<Prefix>/<Encoding>/metadata/<PublisherId>/<WriterGroup>/<DataSetWriter>

The information of PublisherId, WriterGroup, and DataSetWriter are for directing sending data to the right data consumed node. 

However, as UADP  also contains the information about PublisherId, WriterGroupId, and DataSetWriterId, then these information seem to be redundant for me. 

Am I right, or was I misunderstanding something here?

Thank you in advance for your answers. 

Avatar
Randy Armstrong
Admin
Forum Posts: 1578
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
12/18/2024 - 15:59
sp_Permalink sp_Print

Putting information into the topics allows subscribers to use MQTT wild cards.

i.e. <Prefix>/<Encoding>/metadata/<PublisherId>/#

Putting it in the message body ensures messages can be forwarded to other brokers that may not use the same topic tree.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 35
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1444
Posts: 4887