--- title: "Kafka (Input agent)" slug: "profiles--entry-tab-2-kafka" status: "update" updated: 2026-11-12T13:04:32Z published: 2026-11-12T13:04:32Z canonical: "docs.lobstersoftware.com/profiles--entry-tab-2-kafka" --- > ## 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. # Kafka (Input agent) **IMPORTANT:** This Input agent can only be selected if at least one Kafka connection has been set up. ## Settings ![images/download/attachments/201675972/kafka_1-version-1-modificationdate-1747298907440-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/kafka_1-version-1-modificationdate-1747298907440-api-v2.png) ![images/download/attachments/201675972/kafka_2-version-1-modificationdate-1747298907439-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/kafka_2-version-1-modificationdate-1747298907439-api-v2.png) ![images/download/attachments/201675972/kafka_3-version-1-modificationdate-1747298907437-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/kafka_3-version-1-modificationdate-1747298907437-api-v2.png) (1) **Start on IS only:** Only relevant for the module "Load balancing" to start the Profile on a specific node. If checkbox *Can be triggered on any server* is not set and the checkbox "Profile may only run in one instance" (see [General (Main settings](/v1/docs/en/profiles--tab-1-1)**))** is also not set and no value is set in field "Start on IS only", a triggered cron job in a [Load balancing](/v1/docs/en/load-balancing) system is forced to remain on the Working Node on which it was triggered. See also [Settings for profiles (Load balancing)](/v1/docs/en/load-balancing-profiles). (2) **Connection alias:** The Kafka alias. See [Kafka connections](/v1/docs/en/manage-kafka). (3) **Topic:** The topic from which messages are to be received. (4) **Client ID:** An optional identifier of a Kafka consumer (in a consumer group) that is passed to a Kafka broker with every request. (5) **Send email notification for received tombstone message:** If set, an email is sent when a tombstone is received; otherwise, it is skipped and ignored. A tombstone always has a zero payload, so it must not be processed; otherwise, the Mapping will generate an error during parsing. (6) **Key Type:** The data type of the key of the message. **IMPORTANT:** The data type must always be specified. Make sure that you always use matching types when sending and receiving. If, for example, a message is defined and sent as *Byte*/*String* and then read as *Integer*/*Byte*, this leads to an error and the message cannot be read. Lobster Integration as a consumer is blocked until someone removes this erroneous message from the broker and it does not process any messages from this topic! (7) **Data Type:** The data type of the message. **IMPORTANT:** The data type must always be specified. Make sure that you always use matching types when sending and receiving. If, for example, a message is defined and sent as *Byte*/*String* and then read as *Integer*/*Byte*, this leads to an error and the message cannot be read. Lobster Integration as a consumer is blocked until someone removes this erroneous message from the broker and it does not process any messages from this topic! Type "Avro" and "Avro_apicurio": ![](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/image-ANIALINP.png) Select an HTTP channel in the field "Schema registry channel". Values used form channel: "Partner address" (for the "Schema registry URL" field), "Own ID", "Own password". A value in the field "Schema registry URL" will overwrite the channel value. Consumer properties in (11) will overwrite the channel values as well. (8) **Reset Timestamp:** UTC timestamp. This can be used to trigger a new pickup of all messages that are younger than the specified time. The parameter is automatically reset after retrieval. (9) **Commit each record:** If set, each record is committed (asynchronously). If not set, you can specify after how many records the commitment takes place. (10) **Partition Assignment:** With this option, it is possible to attach statically to selected partitions. Rebalancing is explicitly not considered. (11) **KafkaConsumer Properties:** Additional consumer properties can be defined via the context menu. **NOTE:** The property `group.id`, for example, defines the consumer group and is mandatory for subscription. Lobster Integration creates this property per consumer as `grp +<hash code of topic>` if it is not explicitly specified. (12) **Buffer messages**, **Max. wait time:** Messages are collected in a buffer. 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. (13) **Value to forward:** When messages are collected, you can decide here what should be returned. If "All" is selected, the individual messages may have to be connected with a delimiter character. (14) **Additional (premature) case to forward:** If conditions are set and met (for functions, the Function chain must return "true"), premature forwarding takes place. ## System variables and header properties When receiving a message, the key of the message is stored in the system variable `MSG_CALL_KAFKA_KEY` (if defined) and is therefore available in the mapping. Header properties of a message can be read out using system variables of the form `MSG_CALL_<KEYNAME>` (everything in uppercase). **NOTE:** Header properties are always read in with UTF-8 encoding. ## Autoserialized lists and maps If you use a profile with a "Kafka" Response to send messages (to a Kafka server) that are retrieved by a profile with a Kafka input agent, [serialize map/list()](/v1/docs/en/basic-serialize-map-or-list) are automatically available in the profile with the Kafka input agent if the variable `KAFKA_ADD_AUTOSERIALZE_DATA` of type *Boolean* with the value *true* is created in the profile with the "Kafka" response. **Example:** Profile 1 has a "Kafka" response, a variable `KAFKA_ADD_AUTOSERIALZE_DATA=true` and creates the map *autoserialize_mymap* in Phase 3. Profile 2 has a "Kafka" input agent that retrieves the message sent by profile 1. In Phase 3, the map *autoserialize_mymap* can be accessed directly. 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 distributed streaming platform for reliable, high-volume data exchange. Kafka stores news in topics and decouples producers from consumers. Available in the Lobster Data Platform as an input agent and response. 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. Additional server that takes on part of the processing within the optional Lobster Load Balancing module: it carries out the tasks assigned to it by the Node Controller. Multiple Working Nodes increase throughput. A Working Node can only be used once it has been activated in the Node Controller. The core task of Phase 3. Mapping transfers data from the source structure to the target structure according to defined rules. In the process, fields can be transformed, functions can be called, and values can be calculated. 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. The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. Mapping: Rules transfer the data from the source structure to the target structure. This is the core of the profile.