Description:

Fetches messages from Apache Kafka

Additional Details...

Tags: Kafka, Apache, Get, Ingest, Ingress, Topic, PubSub

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), 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.

NameDescriptionDefault ValueValid ValuesELSensitive
ZooKeeper Connection StringThe Connection String to use in order to connect to ZooKeeper. This is often a comma-separated list of <host>:<port> combinations. For example, host1:2181,host2:2181,host3:2188NoNo
Topic NameThe Kafka Topic to pull messages fromNoNo
Zookeeper Commit FrequencySpecifies how often to communicate with ZooKeeper to indicate which messages have been pulled. A longer time period will result in better overall performance but can result in more data duplication if a NiFi node is lost60 secsNoNo
Batch SizeSpecifies the maximum number of messages to combine into a single FlowFile. These messages will be concatenated together with the <Message Demarcator> string placed between the content of each message. If the messages from Kafka should not be concatenated together, leave this value at 1.1NoNo
Message DemarcatorSpecifies the characters to use in order to demarcate multiple messages from Kafka. If the <Batch Size> property is set to 1, this value is ignored. Otherwise, for each two subsequent messages in the batch, this value will be placed in between them.\nNoNo
Client NameClient Name to use when communicating with KafkaNiFi-nullNoNo
Kafka Communications TimeoutThe amount of time to wait for a response from Kafka before determining that there is a communications error30 secsNoNo
ZooKeeper Communications TimeoutThe amount of time to wait for a response from ZooKeeper before determining that there is a communications error30 secsNoNo

Relationships:

NameDescription
successAll FlowFiles that are created are routed to this relationship