A smart, open-source Niagara integration
Sparkplug is an open-source software specification that provides MQTT clients the framework to seamlessly integrate data from their applications, sensors, devices, and gateways within the MQTT infrastructure in a bi directional and interoperable way.
The Sparkplug specification describes a standard application layer protocol for applications, sensors, devices and gateways.
To achieve this the specification defines three clear goals, that are lacking from current MQTT and IoT implementations:
Define a standard MQTT topic namespace
Define standard MQTT state management
Define the MQTT payload
MQTT Sparkplug cuts the complexity and eliminates the mess, this means no challenges with complicated architectures and custom connections.
SINGLE SOURCE OF TRUTH
Configure process variables one time at the source and deploy to the entire enterprise
No longer maintain custom connections between various data sources
New machine and sensor data becomes immediately available to all subscribers
Leverages TLS for data transport and requires no open port for edge network devices
Birth and death certificates provide subscribing clients confidence in data validity
Differences between Sparkplug and plain MQTT
Sparkplug defines a clear topic namespace so applications know where to subscribe for data straight away
MQTT allows custom or vendor-specific topic namespaces so it can be hard to understand topics in a broker
Sparkplug defines a very strong message payload, with clear data types, metadata, datasets
MQTT has no definition of the payload it carries, MQTT only knows it carries a discrete number of bytes
Sparkplug defines how applications can become aware of the state of a Sparkplug node (state awareness) and specifies how applications are notified (by subscribing to a defined topic namespace) of the state of a node
MQTT contains no definition of state awareness of a node
Sparkplug enables loose coupling between all participants in a system by defining data formats upfront
MQTT contains no data formatting definitions so IoT solutions based on plain MQTT are tightly coupled causing design and deployment problems