
Key takeaways
Short answer: MQTT is a pub/sub messaging protocol designed for low-bandwidth IoT but adopted at scale in manufacturing because it decouples data producers (machines) from data consumers (OEE platforms, cloud, analytics). Modern industrial deployments use the Sparkplug B specification on top of MQTT to add the data modeling and state tracking that raw MQTT lacks. MQTT and OPC UA solve overlapping problems; many stacks use both. See also OEE for Batch Manufacturing.
MQTT (Message Queuing Telemetry Transport) is a publish/subscribe messaging protocol invented in 1999 at IBM for low-bandwidth oil-and-gas telemetry. The architecture is simple:
The decoupling is the value. A PLC publishes its run state to a topic; whoever subscribes gets the data. The PLC does not know or care who the consumer is.
Three reasons:
For an OEE platform consuming data from 50+ machines across a plant, MQTT is a natural fit. One broker, many publishers, many subscribers.
Raw MQTT has no opinion about message content. A PLC publishing "423" on topic "line5/cycle" is fine until two different PLCs use different topic conventions, units, or message formats. Integration becomes a mess.
The fix is Sparkplug B, an open specification on top of MQTT that adds:
Most modern industrial MQTT deployments use Sparkplug B. Raw MQTT works for greenfield with strict topic discipline but rarely scales.
They overlap but solve different problems:
Many modern stacks use both: OPC UA for structured data exchange at the line (PLC to gateway), MQTT/Sparkplug B for high-scale telemetry from gateway to cloud or central OEE platform.
Unified namespace (UNS) is an architectural pattern where every system publishes to a single shared MQTT broker. The broker becomes the single source of truth for all real-time plant data. ERP, MES, OEE platform, historian, analytics — they all subscribe to the topics they need without point-to-point integration.
UNS replaces the rigid PLC → SCADA → MES → ERP hierarchy with a flat pub/sub bus. It is a strong fit for greenfield digital transformation and lift-and-shift modernization of plants with legacy SCADA.
For SMB manufacturers without an existing broker, OPC UA-only is often simpler. For larger or multi-site operations, MQTT + Sparkplug B usually wins on long-term scalability.
Fabrico's OEE module supports both OPC UA and MQTT/Sparkplug B as data sources, and can publish computed OEE metrics back to MQTT for downstream consumers.
See how Fabrico captures this automatically — explore OEE for manufacturing or book a demo.
For most SMB plants, OPC UA is enough and simpler. For multi-site or unified-namespace strategies, MQTT/Sparkplug B is the better long-term choice.
An open specification on top of MQTT that adds standard topic naming, birth/death messages, state tracking, and typed metrics. The de facto standard for industrial MQTT.
Yes. MQTT is built around a broker. Common choices: HiveMQ, EMQX, Mosquitto (open source), or cloud brokers (AWS IoT, Azure IoT Hub).
Yes, with TLS encryption and authentication. Anonymous, unencrypted MQTT in production is not safe.
MQTT is much more efficient for continuous telemetry. HTTP is fine for occasional API calls. For machine data flowing every few seconds across thousands of devices, MQTT wins decisively.