Skip to content

Unified Namespace ​

A Unified Namespace (UNS) is one shared topic tree where every system of a business publishes its current data and finds the data of every other system. Instead of point-to-point links between PLCs, SCADA, MES and ERP, everything meets at the broker.

The idea ​

Without a UNSWith a UNS
Every application connects to every sourceEvery source publishes once, every application subscribes
Each link has its own protocol and formatOne protocol (MQTT) and one structure
Adding a consumer means touching the sourcesAdding a consumer means one new subscription
Data is copied and goes staleThe tree always holds the current state

Think of it as a postal address for data: like country, city, street and house, enterprise/site/area/line/device/signal lets any new subscriber find a value without being told where it physically comes from. Every topic answers three questions: who owns the data, where it lives and what it is (Design your topics).

A UNS is built on four principles:

  1. One structure, usually the ISA-95 hierarchy, so data is found by where it comes from.
  2. Report by exception: sources publish when a value changes, not when asked.
  3. Current state in the broker: the latest value of every topic is available to anyone who subscribes.
  4. Edge-driven: devices and gateways connect out to the broker; nothing polls them from outside.

Building a UNS on ConnectMQ Cloud ​

PrincipleHow to do it on ConnectMQ
One structureUse enterprise/site/area/line/device/signal (Design your topics). The console builds the tree, devices and Digital Twin from it.
Readable payloadsPublish JSON objects with the same field names on every device type (payload formats). Every numeric field becomes a live value, chart and possible alert.
Kinds of dataSeparate telemetry, status, alarms, events, cmd and config in the last level (kinds of data).
Derived dataServices publish results such as OEE to their own topics, never over device topics (raw and derived data).
Current statePublish status and configuration as retained messages; new subscribers get them immediately.
Online / offlineUse a Last Will and read $SYS/broker/connection/<client ID>/state (system topics).
ConsumersMES, ERP, SCADA, analytics and AI agents subscribe with wildcards, each with its own credential set.
Scaling consumersSpread a high-volume branch over several workers with shared subscriptions.
GovernanceGive each site, line or application only its branch with access control.
Shop floorConnectMQ Edge reads PLCs, meters and relays and publishes them into the tree, buffering on disk while offline.
Sparkplug BConnectMQ Cloud converts Sparkplug B messages to ISA-95 JSON automatically, so Sparkplug and plain MQTT sources share one namespace.

Example tree ​

text
acme/
├── istanbul/
│   ├── assembly/
│   │   ├── line1/
│   │   │   ├── cnc-01/telemetry     {"temperature":62.4,"spindleRpm":11950}
│   │   │   ├── cnc-01/status        {"state":"running"}   (retained)
│   │   │   └── robot-02/telemetry
│   │   └── line2/...
│   └── energy/main-meter/telemetry
└── izmir/...

A line dashboard subscribes to acme/istanbul/assembly/line1/#, the energy team to acme/+/energy/#, and headquarters to acme/#.

Fully managed MQTT broker for connected devices.