MQTT 3 and MQTT 5
Pick the protocol version your broker runs and the quality of service the data deserves — at most once, at least once, or exactly once. Connections speak mqtt, mqtts, ssl, or tcp.
IoT and MQTT
Etlworks subscribes to your MQTT broker the way any other client does — wildcard topics, QoS you choose, certificates if you use them — and lands the telemetry in a warehouse, a database, or a file, continuously.
MQTT is deliberately small — it assumes a constrained device and an unreliable network. The work is everything after the subscribe: decoding the payload, naming the destination, and not falling over when the link drops.
Capabilities
Pick the protocol version your broker runs and the quality of service the data deserves — at most once, at least once, or exactly once. Connections speak mqtt, mqtts, ssl, or tcp.
Subscribe to test/device/# and every device underneath it arrives on the same flow. Several topics, wildcard or not, can be listed together, and a single flow can publish to a different topic per transformation.
Authenticate with a username and password, or with a root certificate, client certificate, and private key. TLS encryption is a switch, and hostname verification can be relaxed for the brokers that need it.
Read text payloads as strings or binary ones as an array of bytes, in JSON, CSV, or raw form. Messages can be Base64 or Sparkplug B encoded and gzip compressed, and the decode happens before your transformation sees the record.
A preprocessor written in JavaScript sees each message on the way through. Read a field, rewrite it, add one the device never sent, or return false and the reading is dropped — which is how you filter a chatty sensor without touching the device.
Run the flow continuously so readings land as they arrive, or schedule it on a short interval for micro-batching when the destination is happier with fewer, larger writes. The same flow definition does both.
The Byte Array format forwards a message from one broker to another without altering it — for a migration that has to keep continuity, for regional brokers that each serve their own network, or for two applications that will not share one.
Keep-alive interval, connection and publish timeouts, a ceiling on failed probes before the connection counts as lost, and a last will topic the broker publishes if the client disappears without saying goodbye.
MQTT is one more queue connector, so telemetry joins reference data from a database, gets validated, and lands in the warehouse in one governed flow. CDC events can be routed through an MQTT topic as well, if that is where your consumers already listen.
Specifications
Everything below is set on the connection, once, and reused by every flow that points at that broker. Credentials live in the connection, never in the flow definition.
mqtt://, mqtts://, ssl://, or tcp://FAQ
test/device/# and every device beneath it arrives on one flow. The destination table or filename is built from the topic name, so a thousand devices can land in one table or a thousand, depending on the template you write.Start your trial
Point a connection at your broker, subscribe to a wildcard topic, and see what your devices are actually sending.