Sends the contents of a FlowFile as a message to Apache Kafka
Apache, Kafka, Put, Send, Message, PubSub
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
| Name | Default Value | Valid Values | Description |
|---|---|---|---|
| Known Brokers | A comma-separated list of known Kafka Brokers in the format <host>:<port> | ||
| Topic Name | The Kafka Topic of interest Supports Expression Language: true | ||
| Kafka Key | The Key to use for the Message Supports Expression Language: true | ||
| Delivery Guarantee | 0 |
| Specifies the requirement for guaranteeing that a message is sent to Kafka |
| Message Delimiter | Specifies the delimiter to use for splitting apart multiple messages within a single FlowFile. If not specified, the entire content of the FlowFile will be used as a single message. If specified, the contents of the FlowFile will be split on this delimiter and each section sent as a separate Kafka message. Supports Expression Language: true | ||
| Max Buffer Size | 1 MB | The maximum amount of data to buffer in memory before sending to Kafka | |
| Communications Timeout | 30 secs | The amount of time to wait for a response from Kafka before determining that there is a communications error | |
| Client Name | NiFi- | Client Name to use when communicating with Kafka |
| Name | Description |
|---|---|
| failure | Any FlowFile that cannot be sent to Kafka will be routed to this Relationship |
| success | Any FlowFile that is successfully sent to Kafka will be routed to this Relationship |