--- title: "MQTT (Input agent)" slug: "profiles--entry-tab-2-mqtt" updated: 2026-09-22T07:54:35Z published: 2026-09-22T07:54:35Z canonical: "docs.lobstersoftware.com/profiles--entry-tab-2-mqtt" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # MQTT (Input agent) **IMPORTANT:** This Input agent can only be selected if at least one MQTT connection has been set up. ## Settings ![images/download/attachments/201674550/mqtt_1-version-1-modificationdate-1747299644630-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/mqtt_1-version-1-modificationdate-1747299644630-api-v2.png) ![images/download/attachments/201674550/mqtt_2-version-1-modificationdate-1747299644632-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/mqtt_2-version-1-modificationdate-1747299644632-api-v2.png) (1) **Start on IS only:** Only relevant for the module Load balancing to start the Profile on a specific node. (2) **Connection alias:** The MQTT alias. See section [MQTT connections](/v1/docs/en/manage-mqtt). **IMPORTANT:** If possible, please use a separate alias for each profile. Using an alias in multiple profiles may cause problems under certain circumstances. (3) **Topic:** The topic to be listened to. (4) **Quality of service:** The transmission quality (Quality of Service, QoS). | At most once | The lowest-cost in terms of volume of data transfer. This is suitable if you have a reliable connection between the Integration Server and the MQTT broker. | | --- | --- | | At least once | A good choice if you need to be sure every message gets through and you can tolerate receiving a message more than once. | | Exactly once | Guarantees delivery exactly once, but has a relatively high cost in terms of data transfer. | (5) **Buffer messages** and (6) **Max wait time:** Messages are collected in a buffer (see [MQTT (Control Center)](/v1/docs/en/cc-system-mqtt)**)**. The profile is started with the collected messages when either the maximum number of collected messages is reached or the maximum waiting time. If the profile is saved, messages in the buffer are deleted. **NOTE:** The desired seconds can also be entered manually. (7) **Type of incoming data:** The data type of the input data. (8) **Value to forward:** If messages are collected (value in (5) is greater than "1"), you can decide which ones are to be passed on. If you select "All", you might have to use a delimiter (9) between the single messages. **NOTE:** If the value Integer is selected in (7), you can use the options "Minimum", "Maximum", "Average". (9) **Delimiter for messages:** The delimiter for messages. You can also specify hex codes with prefix "0x". See also (8). **NOTE:** Only active if the value in (5) is greater than "1". (10) **Additional (premature) case to forward:** Here you can specify conditions (for numerical values, for strings or regular expressions) when messages are to be forwarded to the profile for processing prematurely (only one must apply), see [MQTT (Control Center)](/v1/docs/en/cc-system-mqtt). If, in the example, the message does not contain the string *lens* (→ set corresponding condition), it will be collected. If the string *lens* is contained, the message is passed on immediately and the collection counter is reset, i.e. other collected messages are discarded. As an alternative to conditions, you can use a Function chain to check messages. If the function chain returns *true* at the end, the check is considered successful. **NOTE:** Only active if the value in (5) is greater than *1*. ![images/download/attachments/201674550/534-version-1-modificationdate-1747108148733-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/534-version-1-modificationdate-1747108148733-api-v2.png)![images/download/attachments/201674550/535-version-1-modificationdate-1747108148731-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/535-version-1-modificationdate-1747108148731-api-v2.png) ![images/download/attachments/201674550/_mqtt_3-version-1-modificationdate-1747108148736-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/_mqtt_3-version-1-modificationdate-1747108148736-api-v2.png) (11) Enter the number of messages here until the function chain is checked. *1* if every message should be checked. (12) Select a function by double-clicking (or using the arrow). It will be inserted in (13). (13) The function chain, as you already know it from Phase 3. **NOTE:** Note the specific parameter type *Message*. (14) In addition to the parameter types already known from Phase 3, there will also be the *Message* type. (15) You can test your function chain. See the following screenshot. **NOTE:** Either the calculated value or a fixed value can be used as the result of each individual function. (16) Here you can manually enter a message that will be used for the test. (17) Click here to run the test. (18) The result of the test. ## System variables In MQTT version 5, you can use system variables of the form *MSG_CALL_* (all in uppercase) to read out user properties (key,value) of messages. See also *MSG_CALL_MQTT_CONTENTTYPE* and *MSG_CALL_MQTT_CORRELATIONDATA*. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). A lightweight publish-subscribe protocol for IoT and machine-to-machine communication. MQTT transmits messages via topics and is optimized for environments with low bandwidth or unstable connections. The Lobster Data Platform's operating mode ensures high availability and scalability. A node controller accepts input data and distributes processing tasks to any number of working nodes using a round-robin or load-balancing algorithm. If the node controller fails, a working node takes over its role. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The Integration Server is the central runtime component of the Lobster Data Platform. It executes integration processes and processes data. The Integration Server stores local certificates and uses their private keys for signing and decryption. It provides all communication services (e.g., FTP, SMTP, HTTP) and connects the application to the database. It is managed via the Admin console. Function chains in Lobster consist of sequences of functions that are used to define conditions or to process data. The possibility of encapsulating them in macros and reusing them allows for central maintenance and compact use. Changes to a macro affect all profiles with that macro. Function chains can be determined both system-wide and client-specific. Mapping: Rules transfer the data from the source structure to the target structure. This is the core of the profile.