Skip to main content

Sparkplug B uplink

Uplink Production

Publish as an Eclipse Sparkplug B edge node (NBIRTH/DBIRTH/DDATA).

An uplink runs on a Site Runtime and subscribes to device groups; every value it receives is sent on. See Uplinks for the flow and the payload format.

Settings​

ParameterTypeDefaultRange / optionsRequiredDescription
MQTT Client ID must be unique for clients connecting to the same Broker.
client-id
string—max 255 charsyes
Group ID
group-id
string—max 255 charsyesGroup ID in the Sparkplug specification is used to group edge nodes.
Node ID
node-id
string—max 255 charsyesNode ID in the Sparkplug specification is the unique identifier for edge nodes.
Enable Alias
enable-alias
boolfalse—noEnable Sparkplug_b metric alias to reduce the size of messages.
Group Path
group-path
booltrue—noUse the group name of the southbound device as the starting path of the Metric name. Shown when Enable Alias = true.
Offline Data Caching
offline-cache
boolfalse—noOffline caching switch. Cache MQTT messages when offline, and sync cached messages when back online.
Cache Memory Size (MB)
cache-mem-size
int11 – 1024yesMax in-memory cache size in megabytes when MQTT connection exception occurs. Should be smaller than cache disk size. Shown when Offline Data Caching = true.
Cache Disk Size (MB)
cache-disk-size
int101 – 10240yesMax in-disk cache size in megabytes when MQTT connection exception occurs. Should be larger than cache memory size. If nonzero, cache memory size should also be nonzero. Shown when Offline Data Caching = true.
Cache Sync Interval (MS)
cache-sync-interval
int10010 – 120000yesShown when Offline Data Caching = true.
Broker Host
host
stringbroker.example.commax 255 charsyes
Broker Port
port
int18831024 – 65535yes
Username
username
string—max 255 charsno
Password
password
string—max 255 charsno
SSL
ssl
boolfalse—noEnable SSL connection
CA
ca
file—max 81960 charsyesCA certificate which signs the server certificate Shown when SSL = true.
Client Cert
cert
file—max 81960 charsnoClient x509 certificate when using two way authentication Shown when SSL = true.
Client Private Key
key
file—max 81960 charsnoClient private key when using two way authentication Shown when SSL = true.