PublishKafka 2.0.0

Bundle
org.apache.nifi | nifi-kafka-nar
Description
Sends the contents of a FlowFile as either a message or as individual records to Apache Kafka using the Kafka Producer API. The messages to send may be individual FlowFiles, may be delimited using a user-specified delimiter (such as a new-line), or may be record-oriented data that can be read by the configured Record Reader. The complementary NiFi processor for fetching messages is ConsumeKafka.
Tags
Apache, Kafka, Message, PubSub, Put, Record, Send, avro, csv, json, logs
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Relationships
Name Description
failure Any FlowFile that cannot be sent to Kafka will be routed to this Relationship
success FlowFiles for which all content was sent to Kafka.
Reads Attributes
Name Description
kafka.tombstone If this attribute is set to 'true', if the processor is not configured with a demarcator and if the FlowFile's content is null, then a tombstone message with zero bytes will be sent to Kafka.
Writes Attributes
Name Description
msg.count The number of messages that were sent to Kafka for this FlowFile. This attribute is added only to FlowFiles that are routed to success.
See Also