OPC UA Pub/Sub decouples data producers from consumers by allowing a single publisher to broadcast encrypted, time-sensitive telemetry to an unlimited number of subscribers without a central broker. This contrasts with the traditional client-server model, where each connection requires a dedicated session, creating a bottleneck for high-frequency sensor data distribution across edge nodes and cloud gateways.
Glossary
OPC UA Pub/Sub

What is OPC UA Pub/Sub?
OPC UA Pub/Sub is an extension of the OPC Unified Architecture that replaces the client-server model with a publish-subscribe pattern, enabling secure, brokerless, one-to-many data distribution from industrial sensors to multiple consuming applications using multicast UDP or MQTT.
The specification defines two transport protocols: UDP multicast for deterministic, low-latency local-area distribution on the factory floor, and MQTT with broker support for wide-area cloud integration. Each message is cryptographically signed, ensuring data integrity and authenticity, while the built-in DataSetMetaData structure allows subscribers to interpret payloads without prior configuration, enabling true plug-and-produce interoperability.
Key Features of OPC UA Pub/Sub
OPC UA Pub/Sub decouples industrial data producers from consumers, enabling scalable, one-to-many communication without the overhead of a centralized broker for time-critical applications.
Brokerless Multicast UDP
Enables direct, one-to-many data distribution at the network edge without a message broker intermediary. This eliminates the single point of failure and latency introduced by broker-based architectures.
- Transport Mapping: Uses UDP/IP multicast to send a single datagram to multiple subscribing nodes simultaneously.
- Deterministic Latency: Ideal for closed-loop control where sub-millisecond jitter is non-negotiable.
- Network Efficiency: Dramatically reduces bandwidth consumption compared to multiple client-server connections.
- Discovery: Receivers use standard network discovery mechanisms to locate multicast streams without prior configuration.
MQTT Broker Integration
Provides a secure, stateful transport option for wide-area network communication and cloud ingestion. This mapping bridges the gap between the factory floor and enterprise IT systems.
- Full MQTT 5.0 Support: Leverages features like session expiry, shared subscriptions, and user properties for robust telemetry.
- JSON and UADP Encoding: Supports both verbose, human-readable JSON and the highly efficient, binary UADP format over MQTT topics.
- Stateful Awareness: Unlike pure UDP, MQTT's quality of service levels guarantee delivery for critical alarm and event data.
- Firewall Friendly: Uses standard outbound TCP connections, simplifying secure IT/OT convergence without complex firewall rules.
UADP Message Encoding
A highly optimized, binary message encoding designed for minimal wire footprint and maximum processing speed. UADP is the key to achieving true real-time performance on resource-constrained edge hardware.
- Zero-Copy Processing: Network messages can be parsed directly from the wire buffer without memory duplication.
- Field-Level Security: Individual data fields within a single message can be encrypted and signed independently.
- Compact Payload: Reduces message size by up to 80% compared to JSON, conserving bandwidth on high-speed machine networks.
- Schema On-The-Wire: The message structure is self-describing, allowing decoders to parse data without external schema lookups.
Time-Sensitive Networking (TSN) Alignment
OPC UA Pub/Sub is the application-layer protocol designed to exploit IEEE 802.1 TSN standards. This convergence guarantees bounded low latency over standard Ethernet for safety-critical motion control.
- IEEE 802.1Qbv: Uses scheduled traffic shapers to ensure Pub/Sub frames are transmitted in deterministic time windows.
- Frame Preemption: Allows a high-priority Pub/Sub control frame to interrupt a lower-priority bulk data frame mid-transmission.
- Stream Reservation: Network bandwidth is reserved end-to-end for specific Pub/Sub data streams, preventing packet loss under congestion.
- Converged Network: Enables a single physical Ethernet cable to carry both real-time control traffic and best-effort IT data.
Publisher-Subscriber Security
Implements a decentralized security model that scales to massive sensor networks without a central key broker. Security is embedded directly into the message, not just the transport session.
- Group Key Distribution: A security key server distributes symmetric keys to authorized publishers and subscribers out-of-band.
- Message-Level Signing: Each UADP message carries a cryptographic signature, allowing subscribers to verify data integrity and origin.
- Field-Level Encryption: Sensitive data fields within a message can be selectively encrypted, allowing non-sensitive metadata to remain visible for routing.
- Rotation Policies: Keys are automatically rotated based on time or message count, limiting the exposure window of any single compromised key.
DataSetMetaData Discovery
Allows subscribers to dynamically discover the structure, encoding, and semantics of published data without prior configuration. This enables plug-and-produce interoperability in flexible manufacturing lines.
- Self-Describing Payloads: Publishers periodically broadcast metadata describing the exact field names, data types, and engineering units of their DataSets.
- Dynamic Binding: A subscriber can automatically configure its internal data model to match a newly discovered publisher without manual engineering.
- Version Management: Metadata includes version identifiers, allowing subscribers to gracefully handle schema evolution and backward compatibility.
- Semantic Context: Metadata can reference external information models, linking raw sensor values to their meaning in a manufacturing ontology.
OPC UA Pub/Sub vs. OPC UA Client-Server
A technical comparison of the two communication paradigms defined by the OPC UA standard, contrasting the traditional point-to-point model with the newer one-to-many publish-subscribe extension for industrial data distribution.
| Feature | OPC UA Client-Server | OPC UA Pub/Sub |
|---|---|---|
Communication Model | Point-to-point, request-reply | One-to-many, decoupled publish-subscribe |
Connection Topology | Direct session between client and server | Publisher sends to network; subscribers listen anonymously |
Transport Protocols | TCP/IP with binary encoding, HTTPS with XML/JSON | Multicast UDP, MQTT, AMQP, or brokerless UDP |
Session State | ||
Built-in Security | Session encryption, user authentication, certificate exchange | Payload-level encryption and signing via JSON Web Tokens or PKI |
Deterministic Delivery | ||
Scalability for 10,000+ Subscribers | ||
Bandwidth Efficiency for Identical Data to Many Consumers | Linear bandwidth growth per consumer | Constant bandwidth regardless of subscriber count |
Network Infrastructure Requirement | Routable TCP/IP between each client-server pair | Multicast-enabled network or MQTT broker |
Typical Use Case | Supervisory control, configuration, historical data access | Real-time sensor telemetry broadcast to multiple analytics and monitoring systems |
Standard Part | OPC UA Part 4 (Services) and Part 6 (Mappings) | OPC UA Part 14 (Pub/Sub) |
Time-Sensitive Networking (TSN) Compatibility |
Frequently Asked Questions
Clear answers to the most common technical questions about the OPC UA Pub/Sub extension for industrial data distribution.
OPC UA Pub/Sub is an extension of the OPC Unified Architecture that enables brokerless, one-to-many data distribution from industrial sensors to multiple consuming applications. Unlike the client-server model, Pub/Sub decouples publishers from subscribers. A publisher sends a dataset to a configured multicast address or MQTT broker without knowing who is listening. Subscribers express interest by joining the multicast group or subscribing to an MQTT topic. This architecture eliminates the single-point-of-failure and throughput bottleneck of a central server, making it ideal for high-speed, deterministic factory-floor communication where a single sensor value must reach dozens of controllers, HMIs, and cloud gateways simultaneously.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
OPC UA Pub/Sub does not operate in isolation. It relies on a stack of complementary protocols, middleware, and architectural patterns to deliver deterministic, brokerless data distribution on the factory floor.
Time-Sensitive Networking (TSN)
A set of IEEE 802.1 Ethernet standards that guarantee bounded low-latency and jitter for time-critical industrial traffic over standard network infrastructure. TSN provides the deterministic transport layer that allows OPC UA Pub/Sub UDP payloads to coexist with best-effort traffic on converged networks without frame collision or unpredictable delays.
- IEEE 802.1Qbv: Scheduled traffic gating for cyclic data
- IEEE 802.1AS: Precise time synchronization across all network nodes
- Enables microsecond-level determinism for closed-loop control
Edge Message Broker
A lightweight middleware component deployed on the factory floor that routes and buffers telemetry data between sensors, controllers, and cloud gateways. When OPC UA Pub/Sub uses the MQTT transport profile, an edge broker like Mosquitto or NanoMQ acts as the central routing hub, decoupling publishers from subscribers.
- Store-and-forward: Buffers messages during network interruptions
- Topic bridging: Translates between OPC UA Pub/Sub topics and cloud IoT hubs
- Essential for hybrid edge-to-cloud architectures
Industrial DataOps Pipelines
The ingestion, contextualization, and governance layer that consumes the high-velocity data streams published by OPC UA Pub/Sub. These pipelines transform raw UADP NetworkMessages into structured, queryable assets for analytics, digital twins, and AI model training.
- Schema registry: Maps Pub/Sub DataSet IDs to semantic types
- Stream processing: Real-time filtering and feature engineering on edge nodes
- Ensures data quality before storage in lakehouse architectures
Deterministic Latency
A guaranteed maximum time window within which a computation or data transfer will complete. OPC UA Pub/Sub over TSN delivers deterministic latency for Publisher-to-Subscriber delivery, a non-negotiable requirement for closed-loop control systems where stale data is worse than no data.
- Worst-case execution time (WCET): Bounded, not average
- Jitter: Variation in latency must be minimized
- Critical for motion control and safety interlocks

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us