Kafka, MQTT and OPC UA
Streaming tool data to brokers and OPC UA servers.
Three gateway modules publish what the gateway records (SECS messages, alarms, collection events and trace samples) to systems outside it. Each record carries the tenant of the tool it came from. Kafka and MQTT are off by default.
Kafka
kafka:
enabled: true
brokers: [kafka-1:9092]
topic_template: "fabconnect.{tenant}.{type}"
tls: { enabled: true, ca_file: /run/secrets/kafka-ca.crt }
sasl: { mechanism: SCRAM-SHA-512, username: fabconnect }Records are JSON (type, tenant_id, equipment_id, timestamp, data), keyed by equipment. The SASL password comes from FABCONNECT_KAFKA_SASL_PASSWORD_FILE. Credentials to a non-local broker without TLS are refused unless allow_plaintext is set.
MQTT
mqtt:
enabled: true
broker_url: ssl://broker:8883
topic_template: "fabconnect/{tenant}/{equipment}/{type}"
qos: 1
tls: { enabled: true, ca_file: /run/secrets/mqtt-ca.crt }When a broker is down
The gateway keeps running and the tools stay connected. Records fail fast and are counted, and the broker is retried. GET /api/v1/integrations/kafka/status (or /mqtt/status) reports the state, last error and counters.
OPC UA
Per tool, FabConnect writes values into existing nodes on your OPC UA server: a status variable’s value, the time a collection event occurred, or whether an alarm is set. It does not run an OPC UA server or create nodes. Configure endpoints and mappings on the console’s OPC-UA page or under /api/v1/opcua/equipment/{id}.
| Security | What you get |
|---|---|
| None | No server authentication and no encryption; trusted segments only |
| Basic256Sha256 / Sign | The server’s certificate is pinned or chained to your CA; messages are signed |
| Basic256Sha256 / SignAndEncrypt | As Sign, and every message is encrypted |