Data source examples
- Last UpdatedJan 09, 2026
- 1 minute read
- PI System
- Adapter for MQTT 1.4
- Adapters
The following are examples of valid MQTT Sparkplug B data source configurations:
Minimal data source configuration
{
"hostNameOrIpAddress" : "148.101.185.11",
"port" : 1883
}
Sparkplug B data source configuration
},
"hostNameOrIpAddress": "148.101.185.11",
"port": 1883,
"primaryHostId": "Optimus",
"protocol": "Tcp",
"tls": "Tls12",
"userName": "SampleUser",
"passWord": "SamplePassword",
"clientId": "734029baf8f04bb2be99750381d6602a",
"mqttVersion": "3.1.1",
"validateServerCertificate": true,
"streamIdPrefix": null,
"defaultStreamIdPattern": "{Topic}.{MetricName}"
},