Kafka SendMessage Activity
The Kafka SendMessage activity is used to send or publish messages to consumers through Kafka brokers.
General
On the General tab, you can specify the required parameters before you use this activity. The General tab contains the following fields:
Advanced
Specify the Batch Size, Client ID, Linger, Max Request Size, and Properties.
Note: Kafka plug-in supports
Fault Tolerance. In case of any errors, you can use
Properties to add the correct name and value.
Input
The following table describes the fields on the Input tab of the SendMessage activity.
Note: Use com.tibco.plugin.kafka.new.producer property to create a new producer for every job:
- If the property is not set or set to false, only one KafkaProducer is created in init() method when the application starts and the producer gets closed when the application stops.
- In the above case, topic from the Input tab is overridden. All other producer properties are derived from the General and Advanced tabs and the Input tab configurations are ignored.
- If the property is set to true, then properties specified in the Input tab override the properties in the General tab and Advanced tab, and a new KafkaProducer is created for every job.
Output
The following table describes the fields on the Output tab of the SendMessage activity.
| Output Item | Data Type | Description |
|---|---|---|
| KafkaSendMessageOutput | complex | The complete output of the SendMessage activity. |
| result | complex | Information about the content of the sent and failed messages. |
| status | string | Status of the message sent by a producer. |
| SendSuccess | complex | Information about the content of the sent message. |
| topic | string | The topic name for publishing the message. |
| offset | number | The sequence ID number assigned to each record within a partition. |
| Partition | number | The sequence ID of the partition to which a record is sent within a topic. |
| SendFailed | complex | Information about the content of the failed message. |
| errorCode | string | Displays the error code. |
| errorMessage | string | Displays the error message. |
Copyright © Cloud Software Group, Inc. All rights reserved.

icon and delete the classes using
icon. The interceptor classes are executed in the order in which you specify them. The order of execution can be managed using
and
icons.