Configure Sparkplug B
- Last UpdatedAug 07, 2026
- 1 minute read
- PI System
- Adapter for MQTT 1.4
- Adapters
The MQTT adapter is compatible with Sparkplug B, an open-source standard that improves MQTT for industrial applications by defining consistent topic structures, payload formats, and device state handling. It defines a standardized topic namespace and Protobuf-encoded payloads, enabling structured, interoperable communication between edge devices and host systems.
The MQTT Sparkplug B adapter supports devices and applications that comply with the Eclipse Sparkplug B specification. The adapter collects data from standard Sparkplug B message types, such as NBIRTH and NDEATH, and supported topic structures. During discovery, the adapter identifies Sparkplug B metric data types. For example:
-
spBv1.0/PlantA/NDATA/BoilerGateway
-
spBv1.0/PlantA/DDATA/BoilerGateway/Pump01
Within the MQTT adapter, Sparkplug B support allows for seamless ingestion of device data, state messages, and commands using the spBv1.0 topic format. The adapter handles redundancy, failover, and duplicate filtering across multiple MQTT brokers, ensuring reliable data flow. It also simplifies configuration by supporting default topic mappings and selective data discovery.
This integration supports interoperable communication between edge devices and enterprise systems, such as AVEVA Data Hub and the PI System.
The Sparkplug B component uses the same adapter framework configuration as the Generic MQTT adapter.
This section describes the Sparkplug B–specific settings (data selection, source, and discovery). For all other configuration tasks (such as client settings, endpoints, and data filters), see Configure the Generic MQTT adapter.