Why Build an MQTT Client for Industrial IoT?
Why we built Katman MQTT: reusable publish templates, request-response monitoring, and topic logging for industrial IoT testing and automation commissioning.
During commissioning, an automation engineer may need to send the same test message several times, check whether a gateway replies, and keep a record of what happened. Each task is straightforward. Following them together across topics and repeated tests takes more work.
That workflow is the reason for the Katman MQTT client: bring reusable test messages, request-response monitoring, and topic logging into one application. For industrial IoT and automation, seeing a message is the beginning of an investigation. Engineers also need to repeat it, follow the reply, and examine the evidence afterward.
Reuse the test you already prepared
Imagine a test gateway that accepts a status request on
factory/line-1/gateway-01/request/status and replies on
factory/line-1/gateway-01/reply/status.
In Publish Templates, save the request topic, payload, QoS, and retain setting as a reusable message card. Publish it once, or choose a cycle such as Every 5 seconds while observing the gateway. An observed message can also become a template through Create publish template.
This gives you a repeatable input when checking a gateway integration or comparing behavior before and after a configuration change. Cyclic publishing repeats the saved payload; each subsequent send waits for the previous publish to finish and then waits the selected interval.
The Publish Templates guide covers the setup. The factory topics here are illustrative; your test device must implement the request and reply.
Follow the application reply
A completed MQTT publish does not tell you whether the device returned the expected application response.
Katman's Request / Response workspace lets you define a request-topic pattern, an expected response-topic pattern, and a timeout. Named topic variables can carry a device ID from the request pattern into the reply pattern.
For each tracked exchange, you can inspect the request and reply, see WAITING, RECEIVED, or TIMEOUT, and check the observed exchange latency. This helps you investigate which request received a matching reply within the chosen window.
For overlapping requests, Pro also supports MQTT 5 Response Topic and Correlation Data matching through an enabled rule. The responder must return the matching correlation bytes. Topic-only matching settles the oldest pending request expecting that reply topic.
The Request / Response guide explains both modes.
Keep evidence from the test
An intermittent problem may need more than a live view. Start Topic logging before the test to capture incoming messages for selected exact topics.
On desktop, Katman writes a separate text or CSV file per topic, with optional rotation by size or time. You can keep the gateway's reply traffic for later inspection alongside the test notes. Logging begins when capture starts; it does not recover earlier traffic.
The MQTT logging guide covers file output and the different browser logging behavior.
Built around the commissioning workflow
The case for a new MQTT client comes from these connected tasks: prepare a repeatable input, follow the device's response, and save the traffic needed to understand the result.
Katman brings those tasks together for engineers testing industrial IoT integrations and commissioning automation systems.
Download Katman MQTT and try the workflow with one device on your test broker.