Calling method in PubSub infrastructure|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
Calling method in PubSub infrastructure
Avatar
Carsten Stelling
New Member
Members
Forum Posts: 2
Member Since:
06/03/2019
sp_UserOfflineSmall Offline
1
06/19/2019 - 08:01
sp_Permalink sp_Print

Hi,

I'm new to OPC UA and I wonder, if it is possible to call a published method (part 4, chapter 5.11) or modify an attribute of a node stored in a server (publisher) from a client (subscriber) in a PubSub infrastructure using AMQP transport? I've read part 14 of the standard, but did not find the related information.

I assume all services (defined in part 4) are possible, because a subscriber of a topic may have read or write access to the underlying data. But possibly, I've missed something.

Thank you for your help.

Carsten

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/19/2019 - 10:46
sp_Permalink sp_Print sp_EditHistory

Any service that requires a request-response message pattern is not suited for PubSub.

That said, we did explore defining a client-server transport over AMQP/MQTT but our testing established that brokers need to be carefully tuned to make them useful for applications using a request-response pattern.

In theory, sessionless service calls over AMQP/MQTT could work without broker tuning but we are waiting for users to tell the committee that they really need such capabilities.

Avatar
Carsten Stelling
New Member
Members
Forum Posts: 2
Member Since:
06/03/2019
sp_UserOfflineSmall Offline
3
06/24/2019 - 00:59
sp_Permalink sp_Print

Thank you very much Randy for clarification.

Does anybody in this forum have experience calling services over AMQP/MQTT?

What does "carefully tune" the broker mean?

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
06/24/2019 - 07:40
sp_Permalink sp_Print

Carefully tuned means the queues have to be configured to minimize delay and support large messages. What creates problems is brokers tuned in this way no longer scale as well for huge numbers of clients which negates one of the reasons for using a broker in the first place.

There is a prototype that has not been maintained here:

https://github.com/OPCFoundati.....yping/AMQP

Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 72
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
5
10/29/2019 - 08:34
sp_Permalink sp_Print

In OI4.0 (https://www.openindustry4.com/) we want to use OPC UA over MQTT. Pub-Sub seems to be ok, but additionally we want to use OPC UA Services over MQTT.

I search in the link https://github.com/OPCFoundati.....yping/AMQP for some mapping informations.

Where can I find how the Call-Service is mapped into a PubSub network message?

Is there some draft specification in any WG available (for instance the UA WG?)

br

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
10/29/2019 - 08:59
sp_Permalink sp_Print

This feature has not been defined yet.

In short term, I was going to suggest session-less service calls could work but are not recommended because it would be completely insecure because the AccessToken is sent cleartext over MQTT. It could be viable if you lock down your MQTT queues and make sure only authorized users are allowed to send to the queues used by the Server to process the incoming Sessionless requests.

https://reference.opcfoundatio.....rt4/6.3.1/

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