Sparkplug B uplink
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
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
MQTT Client ID must be unique for clients connecting to the same Broker.client-id | string | — | max 255 chars | yes | |
Group IDgroup-id | string | — | max 255 chars | yes | Group ID in the Sparkplug specification is used to group edge nodes. |
Node IDnode-id | string | — | max 255 chars | yes | Node ID in the Sparkplug specification is the unique identifier for edge nodes. |
Enable Aliasenable-alias | bool | false | — | no | Enable Sparkplug_b metric alias to reduce the size of messages. |
Group Pathgroup-path | bool | true | — | no | Use the group name of the southbound device as the starting path of the Metric name. Shown when Enable Alias = true. |
Offline Data Cachingoffline-cache | bool | false | — | no | Offline caching switch. Cache MQTT messages when offline, and sync cached messages when back online. |
Cache Memory Size (MB)cache-mem-size | int | 1 | 1 – 1024 | yes | Max 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 | int | 10 | 1 – 10240 | yes | Max 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 | int | 100 | 10 – 120000 | yes | Shown when Offline Data Caching = true. |
Broker Hosthost | string | broker.example.com | max 255 chars | yes | |
Broker Portport | int | 1883 | 1024 – 65535 | yes | |
Usernameusername | string | — | max 255 chars | no | |
Passwordpassword | string | — | max 255 chars | no | |
SSLssl | bool | false | — | no | Enable SSL connection |
CAca | file | — | max 81960 chars | yes | CA certificate which signs the server certificate Shown when SSL = true. |
Client Certcert | file | — | max 81960 chars | no | Client x509 certificate when using two way authentication Shown when SSL = true. |
Client Private Keykey | file | — | max 81960 chars | no | Client private key when using two way authentication Shown when SSL = true. |