--- title: "send Kafka message()" slug: "basic-kafka" updated: 2026-08-12T11:54:17Z published: 2026-08-12T11:54:17Z canonical: "docs.lobstersoftware.com/basic-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. # send Kafka message() **IMPORTANT:** Our Kafka support is in beta version. This function allows messages to be sent to Kafka brokers. ## Parameters | Parameter | Description | | --- | --- | | a | The [Kafka alias](/docs/en/manage-kafka). | | b | The topic to which the message is sent. | | c | The (optional) key of the message to be sent. | | d | The data of the message to be sent. | | e | The data type of the key. **NOTE:** Use the three dots to select a value. **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! | | f | The data type of the data. **NOTE:** Use the three dots to select a value. **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! | | g | The encoding if a byte array is used (data type). **NOTE:** Use the three dots to select a value. | ## Header properties You can transfer header properties with system variables of the form "KAFKA_". **NOTE:** Since only byte arrays can be specified as value for a header property, Lobster Integration always uses UTF-8 as encoding. 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.