Transport
OPC UA has two different communication modes.
Client/Server
A client accesses information from the server over a fixed 1:1 connection.
Publisher/Subscriber
A publisher (1) sends information to any number (n) of subscribers without a fixed connection. This type of communication represents a 1:n connection.
Different codes and protocols exist for both types of communication. For better clarification, it is shown how the technologies basically build on each other or complement each other.
The frequently asked question of whether, MQTT is better suited for an application or OPC UA is superfluous. OPC UA and MQTT are complementary technologies and not mutually exclusive approaches.