In short: An MQTT broker, often also called an MQTT server, is the software at the center of every MQTT network. Machines, sensors and applications send their messages to the broker under a topic, and the broker forwards each message to every client that has subscribed to that topic. Senders and receivers never connect to each other directly, so a new application can use existing machine data without a new interface to the machine.
Jump to: Architecture · Benefits · Challenges · UNS checklist · Selection criteria · Examples · Security · Implementation · FAQ
MQTT itself is the protocol, the agreed language in which devices and applications exchange messages. The broker is the software on the receiving end of every connection: it keeps track of who is connected, checks permissions and decides who gets which message. MQTT clients are all participants that connect to the broker, from a gateway next to a PLC to a dashboard or an MES.
Origins, standards and protocol details such as QoS levels, MQTT 5 and Sparkplug B are explained on our MQTT glossary page. The most important terms around the broker at a glance:
acme/hamburg/press-shop/press-04/force. Levels are separated by slashes, and the wildcards + (one level) and # (all levels below) let applications subscribe to whole branches.A broker is often compared with two other technologies that appear in the same data architectures. The table shows how they differ and why they usually work side by side.
| MQTT broker | Apache Kafka | OPC UA server | |
|---|---|---|---|
| Primary job | Distributes current events and states in real time | Stores large event streams and makes them replayable | Exposes the data and information model of a machine |
| Messaging | Publish/subscribe via a central broker | Publish/subscribe with a persistent, partitioned log | Client/server, with an optional pub/sub extension |
| Typical location | Edge, plant and enterprise level | Data center and cloud | On the machine or controller |
| Data model | Free payload, structure through topic conventions or Sparkplug | Free payload, schemas through a registry | Built-in information model with types and semantics |
| Strength in the factory | Lightweight, tolerates unstable networks, connects many clients | High throughput and long retention for analytics | Rich context directly at the machine |
In many plants all three work together: OPC UA delivers the data at the machine, the MQTT broker distributes it across the plant and a streaming platform archives it for analytics in the data center.
In most plants, data paths grew one project at a time. The MES reads directly from the controllers, energy monitoring has its own connection to the same PLCs and the quality team adds another gateway for its dashboard. Each of these interfaces works on its own, yet together they form a web that nobody can fully oversee anymore. With n systems that all exchange data with each other, up to n × (n − 1) / 2 connections can arise: 45 for ten systems and 190 for twenty. The classic automation pyramid adds to the problem, because data travels upward level by level and loses timeliness and context on the way.

A current study shows how common this situation is. For its report Scaling MES Across the Enterprise, published in July 2026, Rockwell Automation surveyed 1,560 decision makers from manufacturing. 93% of the manufacturers have an MES in place, yet only 28% have deployed it across the enterprise and just 23% report full integration with ERP, PLM, quality and OT systems. 44% name integration as their most important requirement when buying an MES.
What these plants are missing is a layer between machines and applications that receives each value once and makes it available to every system that needs it. An MQTT broker takes on exactly this role.
The broker follows the publish/subscribe principle of an event-driven architecture. Its work can be described in five steps.
Every client opens a persistent TCP connection to the broker, by default on port 1883 or, encrypted with TLS, on port 8883. The broker checks the credentials or the client certificate and decides which topics the client may read and write.
A gateway at a press publishes a new value under a topic such as acme/hamburg/press-shop/press-04/force. The broker looks up all subscriptions that match this topic and forwards the message to each subscriber. With wildcards, an application can subscribe to a whole branch, for example acme/hamburg/press-shop/# for all presses in the press shop.

Clients usually publish only when a value changes. Compared with cyclic polling, this reduces the load on the network and on the controllers considerably, and every subscriber still learns about each change almost immediately.
Retained messages, persistent sessions and the Last Will message let the broker give a newly connected application the last known state, hold messages for clients that are briefly offline and announce when a device drops off the network. The QoS level defines how strictly each delivery is confirmed.
A single broker is enough for a test on one line. In production, the broker becomes the nervous system of the plant, and a failure would cut every application off from its data at once. Production setups therefore run the broker as a cluster of several nodes that behave like one broker toward the clients. Large companies add a broker per plant, often at the edge, and connect the plants to an enterprise level. This distributed topology is also the technical backbone of a Unified Namespace.
Few manufacturers introduce an MQTT broker in a single step. The following levels describe a typical path, what each level looks like and when the next step usually becomes necessary.
| Level | What it looks like | Typical scope and trigger for the next step |
|---|---|---|
| 1. Test broker | A single broker instance on a spare server connects a handful of sensors for a proof of concept. | Set up in days. The next step follows once a second application wants the same data. |
| 2. Line or plant broker | One broker per line or plant collects machine data via gateways and supplies dashboards and the MES. Topics follow a first naming convention. | Weeks per plant. The next step follows once production depends on the broker. |
| 3. Production cluster | The broker runs as a high-availability cluster with access rights per topic, monitoring and versioned configuration. | A few months including security approval. The next step follows once several sites need the same data. |
| 4. Enterprise backbone | Brokers in every plant share one data model and are connected to an enterprise level. Together they form a Unified Namespace. | Continuous rollout, with every further plant connected faster than the first thanks to templates. |
The number of potential data sources keeps rising. According to IoT Analytics, 21.1 billion IoT devices were connected worldwide at the end of 2025, 45% of them in enterprise use. If every new data source were connected directly to every application, the integration web from the previous section would grow with each device. MQTT has become the most common answer to this: in the 2025 IoT and Embedded Developer Survey of the Eclipse Foundation, MQTT 5 (28%) and MQTT 3 (27%) are the two communication protocols used most often in IoT and edge deployments, ahead of WebSockets (24%) and HTTP (17%). A broker brings the following benefits to a factory:
A broker distributes messages very efficiently. It does not know what a value means, and it cannot read a Siemens S7 controller on its own. Anyone planning a production rollout should know the typical gaps from the start.
| Challenge | Why it matters | Solution |
|---|---|---|
| Single point of failure | If the only broker fails, every application loses its data at the same time. | A cluster with automatic failover, plus local brokers per plant so production continues during a WAN outage. |
| Machines do not speak MQTT | Many controllers only offer S7, Modbus or OPC UA, and older equipment has no MQTT client at all. | A connectivity layer with protocol adapters that reads the controllers and publishes to the broker. The PLC control logic stays as it is. |
| Payloads without context | A value like 73.4 means nothing without unit, timestamp and asset. | A binding data model and payload format, for example JSON with metadata or Sparkplug, defined before the first machine publishes. |
| Topic sprawl | Every team invents its own topic names, and after a year nobody finds anything. | Naming conventions based on the ISA-95 hierarchy and central governance of the topic tree. |
| Security gaps | An open broker lets every participant read and write everything. | TLS encryption, client certificates and access rights down to individual topics. |
| Operating many instances | Manual configuration per plant leads to deviations and slow rollouts. | Configuration as code (Infrastructure as Code), templates and central monitoring. |

A production-ready broker is often the first step toward a Unified Namespace. Twelve questions across four areas show where your factory stands today, from data access and context to integration and governance, and what to clarify before the next step.
You are currently viewing a placeholder content from HubSpot. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationMany broker comparisons focus on message throughput in benchmarks. In a factory, a different set of questions usually decides whether a broker can carry production-critical data for years.
| Criterion | What to check |
|---|---|
| Protocol support | Full support for MQTT 3.1.1 and 5.0, all QoS levels, retained messages, persistent sessions and shared subscriptions |
| Availability | Clustering with automatic failover, rolling upgrades without downtime and stable behavior during network interruptions |
| Deployment | Runs on premises, at the edge and in the cloud, as containers or on Kubernetes |
| Security | TLS and mTLS, certificate management, access rights per topic and connection to existing identity systems |
| Data sovereignty | Data stays in your own infrastructure, the vendor and support location are transparent and no cloud connection is mandatory |
| Operations | Metrics for standard monitoring tools such as Prometheus, versionable configuration and audit logs |
| Path beyond messaging | Can protocol adapters, data models and central management be added later without replacing the broker? |
Order status, quantities and scrap are published once to the broker, and the MES subscribes to exactly the topics it needs. New lines are connected without changes to the MES interface. Learn more about MES integration.
Availability, performance and quality data from every line arrive in the same topic structure. This makes OEE comparable across lines and plants, without a separate integration for each dashboard.
Meters and controllers publish consumption values per machine, and energy management subscribes to them. A global tool manufacturer reduced its energy consumption with real-time energy data provided by Cybus.
The agricultural machinery manufacturer KRONE built its new smart factory from the ground up on an event-driven architecture, together with Cybus, NTT DATA and FIR at RWTH Aachen University. Read how the architecture came about.
The plant broker forwards selected topics to a cloud or data platform, where analytics and AI models use them, for example for predictive maintenance. Sensitive raw data can stay in the plant.
You can find more scenarios in our use cases.
Once all data flows through one broker, the broker also becomes the central point of control. That is an advantage, provided access is regulated cleanly from the start. A production-ready broker needs:
How a broker grows into the backbone of a Unified Namespace across several plants is explained by Stefan Hermann, VP Product at Cybus, in the deep dive Why the Unified Namespace Is Essential for Scale.
CybusMQ is the industrial MQTT broker at the core of Cybus Connectware. As part of Cybus Connectware, it carries production data at manufacturers such as Liebherr and Krone.
You can find all features and how to get started on the product page.
trusted by
A central distribution point for messages. Machines send their data to the broker, and the broker passes each message on to every application that has asked for it.
MQTT is the protocol, the rules for how messages are exchanged. The MQTT broker is the server software that implements these rules, receives messages and distributes them to the subscribers.
Yes, both terms describe the same component. The broker is a server application that runs on dedicated hardware, a virtual machine or as a container.
By default, port 1883 for unencrypted connections and port 8883 for connections encrypted with TLS. MQTT over WebSockets runs on a separately configured port. In production, only the encrypted port should be open.
In practice, almost always. Most Unified Namespace implementations use an MQTT broker as the central distribution layer, because MQTT supports publish/subscribe natively and is widely available in OT and IT.
An MQTT broker distributes current events to many clients with little overhead and copes well with unstable networks. Kafka stores event streams over long periods and makes them replayable for analytics. Many architectures combine both.
The two usually complement each other. OPC UA provides data and semantics directly at the machine, the MQTT broker distributes the data across the plant and the enterprise. A detailed comparison of MQTT, OPC UA and HTTP is on the MQTT page.
For small setups, yes. For production-critical use, check clustering, failover, security updates, support and the operating effort across several plants before you decide.
That depends on hardware, message rate, payload size and QoS level. A cluster scales horizontally by adding nodes. Test with a realistic load profile from your own plant before going live.
Sparkplug is a specification on top of MQTT that standardizes topic structure, payload format and device state for industrial applications. It has been an international standard as ISO/IEC 20237 since 2023. How Sparkplug B works in detail and when it fits better than a JSON-based Unified Namespace is explained on our Sparkplug B page.
You need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Turnstile. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Hubspot Embedded Content. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from HubSpot. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Hubspot Meetings. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from reCAPTCHA. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information