Modified: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka/index.html?rev=1771896&r1=1771895&r2=1771896&view=diff
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka/index.html
 (original)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka/index.html
 Tue Nov 29 12:33:21 2016
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>ConsumeKafka</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Consumes messages 
from Apache Kafka specifically built against the Kafka 0.9 Consumer API.  
Please note there are cases where the publisher can get into an indefinite 
stuck state.  We are closely monitoring how this evolves in the Kafka community 
and will take advantage of those fixes as soon as we can.  In the mean time it 
is possible to enter states where the only resolution will be to restart the 
JVM NiFi runs on.</p><p><a href="additionalDetails.html">Additional 
Details...</a></p><h3>Tags: </h3><p>Kafka, Get, Ingest, Ingress, Topic, PubSub, 
Consume, 0.9.x</p><h3>Properties: </h3><p>In the list below, the names of 
required properties appear in <strong>bold</strong>. Any other properties (not 
in bold) are considered optional. The table also indicates any default values, 
 and whether a property supports the <a 
href="../../html/expression-language-guide.html">NiFi Expression 
Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" 
title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img src="../../html/images/i
 conInfo.png" alt="SASL_SSL" title="SASL_SSL"></img></li></ul></td><td 
id="description">Protocol used to communicate with brokers. Corresponds to 
Kafka's 'security.protocol' property.</td></tr><tr><td id="name">Kerberos 
Service Name</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">The Kerberos principal name that Kafka runs as. This can be 
defined either in Kafka's JAAS config or in Kafka's config. Corresponds to 
Kafka's 'security.protocol' property.It is ignored unless one of the SASL 
options of the &lt;Security Protocol&gt; are selected.</td></tr><tr><td 
id="name">SSL Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description">Specifies the SSL Context Service to use for communicating 
with Kafka.</td></tr><t
 r><td id="name"><strong>Topic Name(s)</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
name of the Kafka Topic(s) to pull from. More than one can be supplied if comma 
seperated.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Group ID</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">A 
Group ID is used to identify consumers that are within the same consumer group. 
Corresponds to Kafka's 'group.id' property.</td></tr><tr><td 
id="name"><strong>Offset Reset</strong></td><td 
id="default-value">latest</td><td id="allowable-values"><ul><li>earliest <img 
src="../../html/images/iconInfo.png" alt="Automatically reset the offset to the 
earliest offset" title="Automatically reset the offset to the earliest 
offset"></img></li><li>latest <img src="../../html/images/iconInfo.png" 
alt="Automatically reset the offset to the latest offset" title="Automatically 
reset t
 he offset to the latest offset"></img></li><li>none <img 
src="../../html/images/iconInfo.png" alt="Throw exception to the consumer if no 
previous offset is found for the consumer's group" title="Throw exception to 
the consumer if no previous offset is found for the consumer's 
group"></img></li></ul></td><td id="description">Allows you to manage the 
condition when there is no initial offset in Kafka or if the current offset 
does not exist any more on the server (e.g. because that data has been 
deleted). Corresponds to Kafka's 'auto.offset.reset' property.</td></tr><tr><td 
id="name"><strong>Key Attribute Encoding</strong></td><td 
id="default-value">utf-8</td><td id="allowable-values"><ul><li>UTF-8 Encoded 
<img src="../../html/images/iconInfo.png" alt="The key is interpreted as a 
UTF-8 Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data and is
  encoded using hexadecimal characters with uppercase letters" title="The key 
is interpreted as arbitrary binary data and is encoded using hexadecimal 
characters with uppercase letters"></img></li></ul></td><td 
id="description">FlowFiles that are emitted have an attribute named 
'kafka.key'. This property dictates how the value of the attribute should be 
encoded.</td></tr><tr><td id="name">Message Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Since KafkaConsumer receives messages in batches, you have an 
option to output FlowFiles which contains all Kafka messages in a single batch 
for a given topic and partition and this property allows you to provide a 
string (interpreted as UTF-8) to use for demarcating apart multiple Kafka 
messages. This is an optional property and if not provided each Kafka message 
received will result in a single FlowFile which  time it is triggered. To enter 
special character such as 'new line' use CTRL+Enter or S
 hift+Enter depending on the OS<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name">Max Poll Records</td><td 
id="default-value">10000</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum number of records Kafka should return in 
a single poll.</td></tr></table><h3>Dynamic Properties: </h3><p>Dynamic 
Properties allow the user to specify both the name and value of a 
property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html
 #configuration. </td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 received from Kafka.  Depending on demarcation strategy it is a flow file per 
message or a bundle of messages grouped by topic and 
partition.</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>kafka.count</td><td>The
 number of messages written if more than 
one</td></tr><tr><td>kafka.key</td><td>The key of message if present and if 
single message. How the key is encoded depends on the value of the 'Key 
Attribute Encoding' property.</td></tr><tr><td>kafka.offset</td><td>The offset 
of the message in the partition of the 
topic.</td></tr><tr><td>kafka.partition</td><td>The partition of the topic the 
message or message bundle is from</td></tr><tr><td>kafka.topic</td><td>The 
topic the message or message bundle is f
 rom</td></tr></table></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>ConsumeKafka</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Consumes messages 
from Apache Kafka specifically built against the Kafka 0.9.x Consumer API.  
Please note there are cases where the publisher can get into an indefinite 
stuck state.  We are closely monitoring how this evolves in the Kafka community 
and will take advantage of those fixes as soon as we can.  In the mean time it 
is possible to enter states where the only resolution will be to restart the 
JVM NiFi runs on. The complementary NiFi processor for sending messages is 
PublishKafka.</p><p><a href="additionalDetails.html">Additional 
Details...</a></p><h3>Tags: </h3><p>Kafka, Get, Ingest, Ingress, Topic, PubSub, 
Consume, 0.9.x</p><h3>Properties: </h3><p>In the list below, the names of 
required properties appear in <strong>bold</strong>. Any other properties (not 
in bol
 d) are considered optional. The table also indicates any default values, and 
whether a property supports the <a 
href="../../html/expression-language-guide.html">NiFi Expression 
Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" tit
 le="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul></td><td id="description">Protocol used to 
communicate with brokers. Corresponds to Kafka's 'security.protocol' 
property.</td></tr><tr><td id="name">Kerberos Service Name</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Kerberos principal name that Kafka runs as. This can be defined either in 
Kafka's JAAS config or in Kafka's config. Corresponds to Kafka's 
'security.protocol' property.It is ignored unless one of the SASL options of 
the &lt;Security Protocol&gt; are selected.</td></tr><tr><td id="name">SSL 
Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description">Specifies
  the SSL Context Service to use for communicating with Kafka.</td></tr><tr><td 
id="name"><strong>Topic Name(s)</strong></td><td id="default-value"></td><td 
id="allowable-values"></td><td id="description">The name of the Kafka Topic(s) 
to pull from. More than one can be supplied if comma 
separated.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Group ID</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">A 
Group ID is used to identify consumers that are within the same consumer group. 
Corresponds to Kafka's 'group.id' property.</td></tr><tr><td 
id="name"><strong>Offset Reset</strong></td><td 
id="default-value">latest</td><td id="allowable-values"><ul><li>earliest <img 
src="../../html/images/iconInfo.png" alt="Automatically reset the offset to the 
earliest offset" title="Automatically reset the offset to the earliest 
offset"></img></li><li>latest <img src="../../html/images/iconInfo.png" 
alt="Automati
 cally reset the offset to the latest offset" title="Automatically reset the 
offset to the latest offset"></img></li><li>none <img 
src="../../html/images/iconInfo.png" alt="Throw exception to the consumer if no 
previous offset is found for the consumer's group" title="Throw exception to 
the consumer if no previous offset is found for the consumer's 
group"></img></li></ul></td><td id="description">Allows you to manage the 
condition when there is no initial offset in Kafka or if the current offset 
does not exist any more on the server (e.g. because that data has been 
deleted). Corresponds to Kafka's 'auto.offset.reset' property.</td></tr><tr><td 
id="name"><strong>Key Attribute Encoding</strong></td><td 
id="default-value">utf-8</td><td id="allowable-values"><ul><li>UTF-8 Encoded 
<img src="../../html/images/iconInfo.png" alt="The key is interpreted as a 
UTF-8 Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/
 iconInfo.png" alt="The key is interpreted as arbitrary binary data and is 
encoded using hexadecimal characters with uppercase letters" title="The key is 
interpreted as arbitrary binary data and is encoded using hexadecimal 
characters with uppercase letters"></img></li></ul></td><td 
id="description">FlowFiles that are emitted have an attribute named 
'kafka.key'. This property dictates how the value of the attribute should be 
encoded.</td></tr><tr><td id="name">Message Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Since KafkaConsumer receives messages in batches, you have an 
option to output FlowFiles which contains all Kafka messages in a single batch 
for a given topic and partition and this property allows you to provide a 
string (interpreted as UTF-8) to use for demarcating apart multiple Kafka 
messages. This is an optional property and if not provided each Kafka message 
received will result in a single FlowFile which  time it is tri
 ggered. To enter special character such as 'new line' use CTRL+Enter or 
Shift+Enter depending on the OS<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name">Max Poll Records</td><td 
id="default-value">10000</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum number of records Kafka should return in 
a single poll.</td></tr><tr><td id="name">Max Uncommitted Time</td><td 
id="default-value">1 secs</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum amount of time allowed to pass before 
offsets must be committed. This value impacts how often offsets will be 
committed.  Committing offsets less often increases throughput but also 
increases the window of potential data duplication in the event of a rebalance 
or JVM restart between commits.  This value is also related to maximum poll 
records and the use of a message demarcator.  When using a message demarcator 
we can have far more uncommitted messages than when
  we're not as there is much less for us to keep track of in 
memory.</td></tr></table><h3>Dynamic Properties: </h3><p>Dynamic Properties 
allow the user to specify both the name and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 received from Kafka.  Depending on demarcation strategy it is a fl
 ow file per message or a bundle of messages grouped by topic and 
partition.</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>kafka.count</td><td>The
 number of messages written if more than 
one</td></tr><tr><td>kafka.key</td><td>The key of message if present and if 
single message. How the key is encoded depends on the value of the 'Key 
Attribute Encoding' property.</td></tr><tr><td>kafka.offset</td><td>The offset 
of the message in the partition of the 
topic.</td></tr><tr><td>kafka.partition</td><td>The partition of the topic the 
message or message bundle is from</td></tr><tr><td>kafka.topic</td><td>The 
topic the message or message bundle is from</td></tr></table><h3>State 
management: </h3>This processor has no state management.<h3>Restricted: 
</h3></body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/additionalDetails.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/additionalDetails.html?rev=1771896&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/additionalDetails.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/additionalDetails.html
 Tue Nov 29 12:33:21 2016
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html lang="en">
+    <!--
+      Licensed to the Apache Software Foundation (ASF) under one or more
+      contributor license agreements.  See the NOTICE file distributed with
+      this work for additional information regarding copyright ownership.
+      The ASF licenses this file to You under the Apache License, Version 2.0
+      (the "License"); you may not use this file except in compliance with
+      the License.  You may obtain a copy of the License at
+          http://www.apache.org/licenses/LICENSE-2.0
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+      See the License for the specific language governing permissions and
+      limitations under the License.
+    -->
+    <head>
+        <meta charset="utf-8" />
+        <title>ConsumeKafka</title>
+        <link rel="stylesheet" href="../../css/component-usage.css" 
type="text/css" />
+    </head>
+
+    <body>
+        <!-- Processor Documentation 
================================================== -->
+        <h2>Description:</h2>
+        <p>
+            This Processor polls <a href="http://kafka.apache.org/";>Apache 
Kafka</a>
+            for data using KafkaConsumer API available with Kafka 0.10.x. When 
a message is received 
+            from Kafka, this Processor emits a FlowFile where the content of 
the FlowFile is the value 
+            of the Kafka message.
+        </p>
+    </body>
+</html>

Modified: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/index.html?rev=1771896&r1=1771895&r2=1771896&view=diff
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/index.html
 (original)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.ConsumeKafka_0_10/index.html
 Tue Nov 29 12:33:21 2016
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>ConsumeKafka_0_10</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Consumes messages 
from Apache Kafka specifically built against the Kafka 0.10 Consumer API.  
Please note there are cases where the publisher can get into an indefinite 
stuck state.  We are closely monitoring how this evolves in the Kafka community 
and will take advantage of those fixes as soon as we can.  In the mean time it 
is possible to enter states where the only resolution will be to restart the 
JVM NiFi runs on.</p><h3>Tags: </h3><p>Kafka, Get, Ingest, Ingress, Topic, 
PubSub, Consume, 0.10</p><h3>Properties: </h3><p>In the list below, the names 
of required properties appear in <strong>bold</strong>. Any other properties 
(not in bold) are considered optional. The table also indicates any default 
values, and whether a property supports the <a href="../../html/expr
 ession-language-guide.html">NiFi Expression Language</a>.</p><table 
id="properties"><tr><th>Name</th><th>Default Value</th><th>Allowable 
Values</th><th>Description</th></tr><tr><td id="name"><strong>Kafka 
Brokers</strong></td><td id="default-value">localhost:9092</td><td 
id="allowable-values"></td><td id="description">A comma-separated list of known 
Kafka Brokers in the format &lt;host&gt;:&lt;port&gt;<br/><strong>Supports 
Expression Language: true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" 
title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul
 ></td><td id="description">Protocol used to communicate with brokers. 
 >Corresponds to Kafka's 'security.protocol' property.</td></tr><tr><td 
 >id="name">Kerberos Service Name</td><td id="default-value"></td><td 
 >id="allowable-values"></td><td id="description">The Kerberos principal name 
 >that Kafka runs as. This can be defined either in Kafka's JAAS config or in 
 >Kafka's config. Corresponds to Kafka's 'security.protocol' property.It is 
 >ignored unless one of the SASL options of the &lt;Security Protocol&gt; are 
 >selected.</td></tr><tr><td id="name">SSL Context Service</td><td 
 >id="default-value"></td><td id="allowable-values"><strong>Controller Service 
 >API: 
 ></strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
 >href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 > id="description">Specifies the SSL Context Service to use for communicating 
 >with Kafka.</td></tr><tr><td id="name"><strong>Topic Name(s)</strong></td><td 
 >id="d
 efault-value"></td><td id="allowable-values"></td><td id="description">The 
name of the Kafka Topic(s) to pull from. More than one can be supplied if comma 
seperated.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Group ID</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">A 
Group ID is used to identify consumers that are within the same consumer group. 
Corresponds to Kafka's 'group.id' property.</td></tr><tr><td 
id="name"><strong>Offset Reset</strong></td><td 
id="default-value">latest</td><td id="allowable-values"><ul><li>earliest <img 
src="../../html/images/iconInfo.png" alt="Automatically reset the offset to the 
earliest offset" title="Automatically reset the offset to the earliest 
offset"></img></li><li>latest <img src="../../html/images/iconInfo.png" 
alt="Automatically reset the offset to the latest offset" title="Automatically 
reset the offset to the latest offset"></img></li><li>none <img src
 ="../../html/images/iconInfo.png" alt="Throw exception to the consumer if no 
previous offset is found for the consumer's group" title="Throw exception to 
the consumer if no previous offset is found for the consumer's 
group"></img></li></ul></td><td id="description">Allows you to manage the 
condition when there is no initial offset in Kafka or if the current offset 
does not exist any more on the server (e.g. because that data has been 
deleted). Corresponds to Kafka's 'auto.offset.reset' property.</td></tr><tr><td 
id="name"><strong>Key Attribute Encoding</strong></td><td 
id="default-value">utf-8</td><td id="allowable-values"><ul><li>UTF-8 Encoded 
<img src="../../html/images/iconInfo.png" alt="The key is interpreted as a 
UTF-8 Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data and is encoded using 
hexadecimal characters with uppercase letters
 " title="The key is interpreted as arbitrary binary data and is encoded using 
hexadecimal characters with uppercase letters"></img></li></ul></td><td 
id="description">FlowFiles that are emitted have an attribute named 
'kafka.key'. This property dictates how the value of the attribute should be 
encoded.</td></tr><tr><td id="name">Message Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Since KafkaConsumer receives messages in batches, you have an 
option to output FlowFiles which contains all Kafka messages in a single batch 
for a given topic and partition and this property allows you to provide a 
string (interpreted as UTF-8) to use for demarcating apart multiple Kafka 
messages. This is an optional property and if not provided each Kafka message 
received will result in a single FlowFile which  time it is triggered. To enter 
special character such as 'new line' use CTRL+Enter or Shift+Enter depending on 
the OS<br/><strong>Supports Expressi
 on Language: true</strong></td></tr><tr><td id="name">Max Poll Records</td><td 
id="default-value">10000</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum number of records Kafka should return in 
a single poll.</td></tr></table><h3>Dynamic Properties: </h3><p>Dynamic 
Properties allow the user to specify both the name and value of a 
property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h
 3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 received from Kafka.  Depending on demarcation strategy it is a flow file per 
message or a bundle of messages grouped by topic and 
partition.</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>kafka.count</td><td>The
 number of messages written if more than 
one</td></tr><tr><td>kafka.key</td><td>The key of message if present and if 
single message. How the key is encoded depends on the value of the 'Key 
Attribute Encoding' property.</td></tr><tr><td>kafka.offset</td><td>The offset 
of the message in the partition of the 
topic.</td></tr><tr><td>kafka.partition</td><td>The partition of the topic the 
message or message bundle is from</td></tr><tr><td>kafka.topic</td><td>The 
topic the message or message bundle is from</td></tr></table></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>ConsumeKafka_0_10</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Consumes messages 
from Apache Kafka specifically built against the Kafka 0.10.x Consumer API.  
Please note there are cases where the publisher can get into an indefinite 
stuck state.  We are closely monitoring how this evolves in the Kafka community 
and will take advantage of those fixes as soon as we can.  In the meantime it 
is possible to enter states where the only resolution will be to restart the 
JVM NiFi runs on. The complementary NiFi processor for sending messages is 
PublishKafka_0_10.</p><p><a href="additionalDetails.html">Additional 
Details...</a></p><h3>Tags: </h3><p>Kafka, Get, Ingest, Ingress, Topic, PubSub, 
Consume, 0.10.x</p><h3>Properties: </h3><p>In the list below, the names of 
required properties appear in <strong>bold</strong>. Any other properties 
 (not in bold) are considered optional. The table also indicates any default 
values, and whether a property supports the <a 
href="../../html/expression-language-guide.html">NiFi Expression 
Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLA
 INTEXT" title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul></td><td id="description">Protocol used to 
communicate with brokers. Corresponds to Kafka's 'security.protocol' 
property.</td></tr><tr><td id="name">Kerberos Service Name</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Kerberos principal name that Kafka runs as. This can be defined either in 
Kafka's JAAS config or in Kafka's config. Corresponds to Kafka's 
'security.protocol' property.It is ignored unless one of the SASL options of 
the &lt;Security Protocol&gt; are selected.</td></tr><tr><td id="name">SSL 
Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description
 ">Specifies the SSL Context Service to use for communicating with 
Kafka.</td></tr><tr><td id="name"><strong>Topic Name(s)</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
name of the Kafka Topic(s) to pull from. More than one can be supplied if comma 
separated.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Group ID</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">A 
Group ID is used to identify consumers that are within the same consumer group. 
Corresponds to Kafka's 'group.id' property.</td></tr><tr><td 
id="name"><strong>Offset Reset</strong></td><td 
id="default-value">latest</td><td id="allowable-values"><ul><li>earliest <img 
src="../../html/images/iconInfo.png" alt="Automatically reset the offset to the 
earliest offset" title="Automatically reset the offset to the earliest 
offset"></img></li><li>latest <img src="../../html/images/iconInfo.png" al
 t="Automatically reset the offset to the latest offset" title="Automatically 
reset the offset to the latest offset"></img></li><li>none <img 
src="../../html/images/iconInfo.png" alt="Throw exception to the consumer if no 
previous offset is found for the consumer's group" title="Throw exception to 
the consumer if no previous offset is found for the consumer's 
group"></img></li></ul></td><td id="description">Allows you to manage the 
condition when there is no initial offset in Kafka or if the current offset 
does not exist any more on the server (e.g. because that data has been 
deleted). Corresponds to Kafka's 'auto.offset.reset' property.</td></tr><tr><td 
id="name"><strong>Key Attribute Encoding</strong></td><td 
id="default-value">utf-8</td><td id="allowable-values"><ul><li>UTF-8 Encoded 
<img src="../../html/images/iconInfo.png" alt="The key is interpreted as a 
UTF-8 Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../h
 tml/images/iconInfo.png" alt="The key is interpreted as arbitrary binary data 
and is encoded using hexadecimal characters with uppercase letters" title="The 
key is interpreted as arbitrary binary data and is encoded using hexadecimal 
characters with uppercase letters"></img></li></ul></td><td 
id="description">FlowFiles that are emitted have an attribute named 
'kafka.key'. This property dictates how the value of the attribute should be 
encoded.</td></tr><tr><td id="name">Message Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Since KafkaConsumer receives messages in batches, you have an 
option to output FlowFiles which contains all Kafka messages in a single batch 
for a given topic and partition and this property allows you to provide a 
string (interpreted as UTF-8) to use for demarcating apart multiple Kafka 
messages. This is an optional property and if not provided each Kafka message 
received will result in a single FlowFile which  tim
 e it is triggered. To enter special character such as 'new line' use 
CTRL+Enter or Shift+Enter depending on the OS<br/><strong>Supports Expression 
Language: true</strong></td></tr><tr><td id="name">Max Poll Records</td><td 
id="default-value">10000</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum number of records Kafka should return in 
a single poll.</td></tr><tr><td id="name">Max Uncommitted Time</td><td 
id="default-value">1 secs</td><td id="allowable-values"></td><td 
id="description">Specifies the maximum amount of time allowed to pass before 
offsets must be committed. This value impacts how often offsets will be 
committed.  Committing offsets less often increases throughput but also 
increases the window of potential data duplication in the event of a rebalance 
or JVM restart between commits.  This value is also related to maximum poll 
records and the use of a message demarcator.  When using a message demarcator 
we can have far more uncommitted message
 s than when we're not as there is much less for us to keep track of in 
memory.</td></tr></table><h3>Dynamic Properties: </h3><p>Dynamic Properties 
allow the user to specify both the name and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 received from Kafka.  Depending on demarcation strategy
  it is a flow file per message or a bundle of messages grouped by topic and 
partition.</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>kafka.count</td><td>The
 number of messages written if more than 
one</td></tr><tr><td>kafka.key</td><td>The key of message if present and if 
single message. How the key is encoded depends on the value of the 'Key 
Attribute Encoding' property.</td></tr><tr><td>kafka.offset</td><td>The offset 
of the message in the partition of the 
topic.</td></tr><tr><td>kafka.partition</td><td>The partition of the topic the 
message or message bundle is from</td></tr><tr><td>kafka.topic</td><td>The 
topic the message or message bundle is from</td></tr></table><h3>State 
management: </h3>This processor has no state management.<h3>Restricted: 
</h3></body></html>
\ No newline at end of file

Modified: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/additionalDetails.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/additionalDetails.html?rev=1771896&r1=1771895&r2=1771896&view=diff
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/additionalDetails.html
 (original)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/additionalDetails.html
 Tue Nov 29 12:33:21 2016
@@ -24,9 +24,9 @@
         <!-- Processor Documentation 
================================================== -->
         <h2>Description:</h2>
         <p>
-            This Processors puts the contents of a FlowFile to a Topic in
+            This Processor puts the contents of a FlowFile to a Topic in
             <a href="http://kafka.apache.org/";>Apache Kafka</a> using 
KafkaProducer API available
-            with Kafka 0.9+ API. The content of a FlowFile becomes the 
contents of a Kafka message.
+            with Kafka 0.9.x API. The content of a FlowFile becomes the 
contents of a Kafka message.
             This message is optionally assigned a key by using the &lt;Kafka 
Key&gt; Property.
         </p>
 
@@ -38,7 +38,7 @@
             If the property is not set, the entire contents of the FlowFile
             will be sent as a single message. When using the demarcator, if 
some messages are
             successfully sent but other messages fail to send, the resulting 
FlowFile will be
-            considered a failed FlowFuile and will have additional attributes 
to that effect.
+            considered a failed FlowFile and will have additional attributes 
to that effect.
             One of such attributes is 'failed.last.idx' which indicates the 
index of the last message
             that was successfully ACKed by Kafka. (if no demarcator is used 
the value of this index will be -1).
             This will allow PublishKafka to only re-send un-ACKed messages on 
the next re-try.

Modified: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/index.html?rev=1771896&r1=1771895&r2=1771896&view=diff
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/index.html
 (original)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka/index.html
 Tue Nov 29 12:33:21 2016
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>PublishKafka</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Sends the contents 
of a FlowFile as a message to Apache Kafka using the Kafka 0.9 producer. The 
messages to send may be individual FlowFiles or may be delimited, using a 
user-specified delimiter, such as a new-line.  Please note there are cases 
where the publisher can get into an indefinite stuck state.  We are closely 
monitoring how this evolves in the Kafka community and will take advantage of 
those fixes as soon as we can.  In the mean time it is possible to enter states 
where the only resolution will be to restart the JVM NiFi runs on.</p><p><a 
href="additionalDetails.html">Additional Details...</a></p><h3>Tags: 
</h3><p>Apache, Kafka, Put, Send, Message, PubSub, 0.9.x</p><h3>Properties: 
</h3><p>In the list below, the names of required properties appear in 
<strong>bold<
 /strong>. Any other properties (not in bold) are considered optional. The 
table also indicates any default values, and whether a property supports the <a 
href="../../html/expression-language-guide.html">NiFi Expression 
Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img src="../../html/ima
 ges/iconInfo.png" alt="SASL_PLAINTEXT" 
title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul></td><td id="description">Protocol used to 
communicate with brokers. Corresponds to Kafka's 'security.protocol' 
property.</td></tr><tr><td id="name">Kerberos Service Name</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Kerberos principal name that Kafka runs as. This can be defined either in 
Kafka's JAAS config or in Kafka's config. Corresponds to Kafka's 
'security.protocol' property.It is ignored unless one of the SASL options of 
the &lt;Security Protocol&gt; are selected.</td></tr><tr><td id="name">SSL 
Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextServ
 ice</a></td><td id="description">Specifies the SSL Context Service to use for 
communicating with Kafka.</td></tr><tr><td id="name"><strong>Topic 
Name</strong></td><td id="default-value"></td><td 
id="allowable-values"></td><td id="description">The name of the Kafka Topic to 
publish to.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Delivery 
Guarantee</strong></td><td id="default-value">0</td><td 
id="allowable-values"><ul><li>Best Effort <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to success 
after successfully writing the content to a Kafka node, without waiting for a 
response. This provides the best performance but may result in data loss." 
title="FlowFile will be routed to success after successfully writing the 
content to a Kafka node, without waiting for a response. This provides the best 
performance but may result in data loss."></img></li><li>Guarantee Single Node 
Delivery <img src="../../html/images/iconInfo.
 png" alt="FlowFile will be routed to success if the message is received by a 
single Kafka node, whether or not it is replicated. This is faster than 
&lt;Guarantee Replicated Delivery&gt; but can result in data loss if a Kafka 
node crashes" title="FlowFile will be routed to success if the message is 
received by a single Kafka node, whether or not it is replicated. This is 
faster than &lt;Guarantee Replicated Delivery&gt; but can result in data loss 
if a Kafka node crashes"></img></li><li>Guarantee Replicated Delivery <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to failure 
unless the message is replicated to the appropriate number of Kafka Nodes 
according to the Topic configuration" title="FlowFile will be routed to failure 
unless the message is replicated to the appropriate number of Kafka Nodes 
according to the Topic configuration"></img></li></ul></td><td 
id="description">Specifies the requirement for guaranteeing that a message is 
sent to Kafka. Correspon
 ds to Kafka's 'acks' property.</td></tr><tr><td id="name">Kafka Key</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Key to use for the Message. If not specified, the flow file attribute 
'kafka.key' is used as the message key, if it is present and we're not 
demarcating.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Key Attribute 
Encoding</strong></td><td id="default-value">utf-8</td><td 
id="allowable-values"><ul><li>UTF-8 Encoded <img 
src="../../html/images/iconInfo.png" alt="The key is interpreted as a UTF-8 
Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data that is encoded using 
hexadecimal characters with uppercase letters." title="The key is interpreted 
as arbitrary binary data that is encoded using hexadecimal characters with 
uppercase letters."></img>
 </li></ul></td><td id="description">FlowFiles that are emitted have an 
attribute named 'kafka.key'. This property dictates how the value of the 
attribute should be encoded.</td></tr><tr><td id="name">Message 
Demarcator</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">Specifies the string (interpreted as UTF-8) to use for 
demarcating 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. To enter special character such as 'new line' 
use CTRL+Enter or Shift+Enter depending on your OS.<br/><strong>Supports 
Expression Language: true</strong></td></tr><tr><td id="name"><strong>Max 
Request Size</strong></td><td id="default-value">1 MB</td><td 
id="allowable-values"></td><td id="description">The maximum size of a request 
in bytes. Corresponds to Kafka's 'max
 .request.size' property and defaults to 1 MB (1048576).</td></tr><tr><td 
id="name"><strong>Meta Data Wait Time</strong></td><td id="default-value">30 
sec</td><td id="allowable-values"></td><td id="description">The amount of time 
KafkaConsumer will wait to obtain metadata during the 'send' call before 
failing the entire 'send' call. Corresponds to Kafka's 'max.block.ms' 
property<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name">Partitioner class</td><td 
id="default-value">org.apache.kafka.clients.producer.internals.DefaultPartitioner</td><td
 id="allowable-values"><ul><li>RoundRobinPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned partitions 
in a round-robin fashion, sending the first message to Partition 1, the next 
Partition to Partition 2, and so on, wrapping as necessary." title="Messages 
will be assigned partitions in a round-robin fashion, sending the first message 
to Partition 1, the next Partition to Partition
  2, and so on, wrapping as necessary."></img></li><li>DefaultPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned to random 
partitions." title="Messages will be assigned to random 
partitions."></img></li></ul></td><td id="description">Specifies which class to 
use to compute a partition id for a message. Corresponds to Kafka's 
'partitioner.class' property.</td></tr><tr><td id="name"><strong>Compression 
Type</strong></td><td id="default-value">none</td><td 
id="allowable-values"><ul><li>none</li><li>gzip</li><li>snappy</li><li>lz4</li></ul></td><td
 id="description">This parameter allows you to specify the compression codec 
for all data generated by this producer.</td></tr></table><h3>Dynamic 
Properties: </h3><p>Dynamic Properties allow the user to specify both the name 
and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="val
 ue">The value of a given Kafka configuration property.</td><td>These 
properties will be added on the Kafka configuration after loading any provided 
configuration properties. In the event a dynamic property represents a property 
that was already set, its value will be ignored and WARN message logged. For 
the list of available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 for which all content was sent to Kafka.</td></tr><tr><td>failure</td><td>Any 
FlowFile that cannot be sent to Kafka will be routed to this 
Relationship</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3>None specified.</body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>PublishKafka</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Sends the contents 
of a FlowFile as a message to Apache Kafka using the Kafka 0.9.x Producer. The 
messages to send may be individual FlowFiles or may be delimited, using a 
user-specified delimiter, such as a new-line.  Please note there are cases 
where the publisher can get into an indefinite stuck state.  We are closely 
monitoring how this evolves in the Kafka community and will take advantage of 
those fixes as soon as we can.  In the mean time it is possible to enter states 
where the only resolution will be to restart the JVM NiFi runs on. The 
complementary NiFi processor for fetching messages is ConsumeKafka.</p><p><a 
href="additionalDetails.html">Additional Details...</a></p><h3>Tags: 
</h3><p>Apache, Kafka, Put, Send, Message, PubSub, 0.9.x</p><h3>Properties: 
</h3><p>I
 n the list below, the names of required properties appear in 
<strong>bold</strong>. Any other properties (not in bold) are considered 
optional. The table also indicates any default values, and whether a property 
supports the <a href="../../html/expression-language-guide.html">NiFi 
Expression Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
al
 t="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" 
title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul></td><td id="description">Protocol used to 
communicate with brokers. Corresponds to Kafka's 'security.protocol' 
property.</td></tr><tr><td id="name">Kerberos Service Name</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Kerberos principal name that Kafka runs as. This can be defined either in 
Kafka's JAAS config or in Kafka's config. Corresponds to Kafka's 
'security.protocol' property.It is ignored unless one of the SASL options of 
the &lt;Security Protocol&gt; are selected.</td></tr><tr><td id="name">SSL 
Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.ap
 
ache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description">Specifies the SSL Context Service to use for communicating 
with Kafka.</td></tr><tr><td id="name"><strong>Topic Name</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
name of the Kafka Topic to publish to.<br/><strong>Supports Expression 
Language: true</strong></td></tr><tr><td id="name"><strong>Delivery 
Guarantee</strong></td><td id="default-value">0</td><td 
id="allowable-values"><ul><li>Best Effort <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to success 
after successfully writing the content to a Kafka node, without waiting for a 
response. This provides the best performance but may result in data loss." 
title="FlowFile will be routed to success after successfully writing the 
content to a Kafka node, without waiting for a response. This provides the best 
performance but may result in data loss."></img></l
 i><li>Guarantee Single Node Delivery <img src="../../html/images/iconInfo.png" 
alt="FlowFile will be routed to success if the message is received by a single 
Kafka node, whether or not it is replicated. This is faster than &lt;Guarantee 
Replicated Delivery&gt; but can result in data loss if a Kafka node crashes" 
title="FlowFile will be routed to success if the message is received by a 
single Kafka node, whether or not it is replicated. This is faster than 
&lt;Guarantee Replicated Delivery&gt; but can result in data loss if a Kafka 
node crashes"></img></li><li>Guarantee Replicated Delivery <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to failure 
unless the message is replicated to the appropriate number of Kafka Nodes 
according to the Topic configuration" title="FlowFile will be routed to failure 
unless the message is replicated to the appropriate number of Kafka Nodes 
according to the Topic configuration"></img></li></ul></td><td 
id="description">Specifies t
 he requirement for guaranteeing that a message is sent to Kafka. Corresponds 
to Kafka's 'acks' property.</td></tr><tr><td id="name">Kafka Key</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Key to use for the Message. If not specified, the flow file attribute 
'kafka.key' is used as the message key, if it is present and we're not 
demarcating.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Key Attribute 
Encoding</strong></td><td id="default-value">utf-8</td><td 
id="allowable-values"><ul><li>UTF-8 Encoded <img 
src="../../html/images/iconInfo.png" alt="The key is interpreted as a UTF-8 
Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data that is encoded using 
hexadecimal characters with uppercase letters." title="The key is interpreted 
as arbitrary binary data th
 at is encoded using hexadecimal characters with uppercase 
letters."></img></li></ul></td><td id="description">FlowFiles that are emitted 
have an attribute named 'kafka.key'. This property dictates how the value of 
the attribute should be encoded.</td></tr><tr><td id="name">Message 
Demarcator</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">Specifies the string (interpreted as UTF-8) to use for 
demarcating 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. To enter special character such as 'new line' 
use CTRL+Enter or Shift+Enter, depending on your OS.<br/><strong>Supports 
Expression Language: true</strong></td></tr><tr><td id="name"><strong>Max 
Request Size</strong></td><td id="default-value">1 MB</td><td 
id="allowable-values"></td><td id="descr
 iption">The maximum size of a request in bytes. Corresponds to Kafka's 
'max.request.size' property and defaults to 1 MB (1048576).</td></tr><tr><td 
id="name"><strong>Acknowledgment Wait Time</strong></td><td 
id="default-value">5 secs</td><td id="allowable-values"></td><td 
id="description">After sending a message to Kafka, this indicates the amount of 
time that we are willing to wait for a response from Kafka. If Kafka does not 
acknowledge the message within this time period, the FlowFile will be routed to 
'failure'.</td></tr><tr><td id="name"><strong>Max Metadata Wait 
Time</strong></td><td id="default-value">5 sec</td><td 
id="allowable-values"></td><td id="description">The amount of time publisher 
will wait to obtain metadata or wait for the buffer to flush during the 'send' 
call before failing the entire 'send' call. Corresponds to Kafka's 
'max.block.ms' property<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name">Partitioner class</td><td id="default
 -value">org.apache.kafka.clients.producer.internals.DefaultPartitioner</td><td 
id="allowable-values"><ul><li>RoundRobinPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned partitions 
in a round-robin fashion, sending the first message to Partition 1, the next 
Partition to Partition 2, and so on, wrapping as necessary." title="Messages 
will be assigned partitions in a round-robin fashion, sending the first message 
to Partition 1, the next Partition to Partition 2, and so on, wrapping as 
necessary."></img></li><li>DefaultPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned to random 
partitions." title="Messages will be assigned to random 
partitions."></img></li></ul></td><td id="description">Specifies which class to 
use to compute a partition id for a message. Corresponds to Kafka's 
'partitioner.class' property.</td></tr><tr><td id="name"><strong>Compression 
Type</strong></td><td id="default-value">none</td><td id="allowa
 
ble-values"><ul><li>none</li><li>gzip</li><li>snappy</li><li>lz4</li></ul></td><td
 id="description">This parameter allows you to specify the compression codec 
for all data generated by this producer.</td></tr></table><h3>Dynamic 
Properties: </h3><p>Dynamic Properties allow the user to specify both the name 
and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Na
 me</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles for which 
all content was sent to Kafka.</td></tr><tr><td>failure</td><td>Any FlowFile 
that cannot be sent to Kafka will be routed to this 
Relationship</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>msg.count</td><td>The
 number of messages that were sent to Kafka for this FlowFile. This attribute 
is added only to FlowFiles that are routed to success. If the &lt;Message 
Demarcator&gt; Property is not set, this will always be 1, but if the Property 
is set, it may be greater than 1.</td></tr></table><h3>State management: 
</h3>This processor has no state management.<h3>Restricted: </h3></body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/additionalDetails.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/additionalDetails.html?rev=1771896&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/additionalDetails.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/additionalDetails.html
 Tue Nov 29 12:33:21 2016
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html lang="en">
+    <!--
+      Licensed to the Apache Software Foundation (ASF) under one or more
+      contributor license agreements.  See the NOTICE file distributed with
+      this work for additional information regarding copyright ownership.
+      The ASF licenses this file to You under the Apache License, Version 2.0
+      (the "License"); you may not use this file except in compliance with
+      the License.  You may obtain a copy of the License at
+          http://www.apache.org/licenses/LICENSE-2.0
+      Unless required by applicable law or agreed to in writing, software
+      distributed under the License is distributed on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+      See the License for the specific language governing permissions and
+      limitations under the License.
+    -->
+    <head>
+        <meta charset="utf-8" />
+        <title>PublishKafka</title>
+        <link rel="stylesheet" href="../../css/component-usage.css" 
type="text/css" />
+    </head>
+
+    <body>
+        <!-- Processor Documentation 
================================================== -->
+        <h2>Description:</h2>
+        <p>
+            This Processor puts the contents of a FlowFile to a Topic in
+            <a href="http://kafka.apache.org/";>Apache Kafka</a> using 
KafkaProducer API available
+            with Kafka 0.10.x API. The content of a FlowFile becomes the 
contents of a Kafka message.
+            This message is optionally assigned a key by using the &lt;Kafka 
Key&gt; Property.
+        </p>
+
+        <p>
+            The Processor allows the user to configure an optional Message 
Demarcator that
+            can be used to send many messages per FlowFile. For example, a 
<i>\n</i> could be used
+            to indicate that the contents of the FlowFile should be used to 
send one message
+            per line of text. It also supports multi-char demarcators (e.g., 
'my custom demarcator').
+            If the property is not set, the entire contents of the FlowFile
+            will be sent as a single message. When using the demarcator, if 
some messages are
+            successfully sent but other messages fail to send, the resulting 
FlowFile will be
+            considered a failed FlowFile and will have additional attributes 
to that effect.
+            One of such attributes is 'failed.last.idx' which indicates the 
index of the last message
+            that was successfully ACKed by Kafka. (if no demarcator is used 
the value of this index will be -1).
+            This will allow PublishKafka to only re-send un-ACKed messages on 
the next re-try.
+        </p>
+    </body>
+</html>

Modified: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/index.html?rev=1771896&r1=1771895&r2=1771896&view=diff
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/index.html
 (original)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi.processors.kafka.pubsub.PublishKafka_0_10/index.html
 Tue Nov 29 12:33:21 2016
@@ -1 +1 @@
-<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>PublishKafka_0_10</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Sends the contents 
of a FlowFile as a message to Apache Kafka using the Kafka 0.10 producer. The 
messages to send may be individual FlowFiles or may be delimited, using a 
user-specified delimiter, such as a new-line.  Please note there are cases 
where the publisher can get into an indefinite stuck state.  We are closely 
monitoring how this evolves in the Kafka community and will take advantage of 
those fixes as soon as we can.  In the mean time it is possible to enter states 
where the only resolution will be to restart the JVM NiFi runs on.</p><h3>Tags: 
</h3><p>Apache, Kafka, Put, Send, Message, PubSub, 0.10</p><h3>Properties: 
</h3><p>In the list below, the names of required properties appear in 
<strong>bold</strong>. Any other properties (not in bold) are considered 
 optional. The table also indicates any default values, and whether a property 
supports the <a href="../../html/expression-language-guide.html">NiFi 
Expression Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/iconInfo.png" 
alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" title="SASL_PLAINTEXT
 "></img></li><li>SASL_SSL <img src="../../html/images/iconInfo.png" 
alt="SASL_SSL" title="SASL_SSL"></img></li></ul></td><td 
id="description">Protocol used to communicate with brokers. Corresponds to 
Kafka's 'security.protocol' property.</td></tr><tr><td id="name">Kerberos 
Service Name</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">The Kerberos principal name that Kafka runs as. This can be 
defined either in Kafka's JAAS config or in Kafka's config. Corresponds to 
Kafka's 'security.protocol' property.It is ignored unless one of the SASL 
options of the &lt;Security Protocol&gt; are selected.</td></tr><tr><td 
id="name">SSL Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a 
href="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description">Specifies the SSL Context S
 ervice to use for communicating with Kafka.</td></tr><tr><td 
id="name"><strong>Topic Name</strong></td><td id="default-value"></td><td 
id="allowable-values"></td><td id="description">The name of the Kafka Topic to 
publish to.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Delivery 
Guarantee</strong></td><td id="default-value">0</td><td 
id="allowable-values"><ul><li>Best Effort <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to success 
after successfully writing the content to a Kafka node, without waiting for a 
response. This provides the best performance but may result in data loss." 
title="FlowFile will be routed to success after successfully writing the 
content to a Kafka node, without waiting for a response. This provides the best 
performance but may result in data loss."></img></li><li>Guarantee Single Node 
Delivery <img src="../../html/images/iconInfo.png" alt="FlowFile will be routed 
to success if the message 
 is received by a single Kafka node, whether or not it is replicated. This is 
faster than &lt;Guarantee Replicated Delivery&gt; but can result in data loss 
if a Kafka node crashes" title="FlowFile will be routed to success if the 
message is received by a single Kafka node, whether or not it is replicated. 
This is faster than &lt;Guarantee Replicated Delivery&gt; but can result in 
data loss if a Kafka node crashes"></img></li><li>Guarantee Replicated Delivery 
<img src="../../html/images/iconInfo.png" alt="FlowFile will be routed to 
failure unless the message is replicated to the appropriate number of Kafka 
Nodes according to the Topic configuration" title="FlowFile will be routed to 
failure unless the message is replicated to the appropriate number of Kafka 
Nodes according to the Topic configuration"></img></li></ul></td><td 
id="description">Specifies the requirement for guaranteeing that a message is 
sent to Kafka. Corresponds to Kafka's 'acks' property.</td></tr><tr><td 
id="name">Ka
 fka Key</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">The Key to use for the Message.  It will be serialized as 
UTF-8 bytes. If not specified then the flow file attribute kafka.key is used if 
present and we're not demarcating. In that case the hex string is coverted to 
its byteform and written as a byte[] key.<br/><strong>Supports Expression 
Language: true</strong></td></tr><tr><td id="name"><strong>Key Attribute 
Encoding</strong></td><td id="default-value">utf-8</td><td 
id="allowable-values"><ul><li>UTF-8 Encoded <img 
src="../../html/images/iconInfo.png" alt="The key is interpreted as a UTF-8 
Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data that is encoded using 
hexadecimal characters with uppercase letters." title="The key is interpreted 
as arbitrary binary data that is encoded using hexadecimal ch
 aracters with uppercase letters."></img></li></ul></td><td 
id="description">FlowFiles that are emitted have an attribute named 
'kafka.key'. This property dictates how the value of the attribute should be 
encoded.</td></tr><tr><td id="name">Message Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Specifies the string (interpreted as UTF-8) to use for 
demarcating 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. To enter special character such as 'new line' 
use CTRL+Enter or Shift+Enter depending on your OS.<br/><strong>Supports 
Expression Language: true</strong></td></tr><tr><td id="name"><strong>Max 
Request Size</strong></td><td id="default-value">1 MB</td><td 
id="allowable-values"></td><td id="description">The maximum size of a reque
 st in bytes. Corresponds to Kafka's 'max.request.size' property and defaults 
to 1 MB (1048576).</td></tr><tr><td id="name"><strong>Meta Data Wait 
Time</strong></td><td id="default-value">30 sec</td><td 
id="allowable-values"></td><td id="description">The amount of time 
KafkaConsumer will wait to obtain metadata during the 'send' call before 
failing the entire 'send' call. Corresponds to Kafka's 'max.block.ms' 
property<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name">Partitioner class</td><td 
id="default-value">org.apache.kafka.clients.producer.internals.DefaultPartitioner</td><td
 id="allowable-values"><ul><li>RoundRobinPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned partitions 
in a round-robin fashion, sending the first message to Partition 1, the next 
Partition to Partition 2, and so on, wrapping as necessary." title="Messages 
will be assigned partitions in a round-robin fashion, sending the first message 
to Part
 ition 1, the next Partition to Partition 2, and so on, wrapping as 
necessary."></img></li><li>DefaultPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned to random 
partitions." title="Messages will be assigned to random 
partitions."></img></li></ul></td><td id="description">Specifies which class to 
use to compute a partition id for a message. Corresponds to Kafka's 
'partitioner.class' property.</td></tr><tr><td id="name"><strong>Compression 
Type</strong></td><td id="default-value">none</td><td 
id="allowable-values"><ul><li>none</li><li>gzip</li><li>snappy</li><li>lz4</li></ul></td><td
 id="description">This parameter allows you to specify the compression codec 
for all data generated by this producer.</td></tr></table><h3>Dynamic 
Properties: </h3><p>Dynamic Properties allow the user to specify both the name 
and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka
  configuration property.</td><td id="value">The value of a given Kafka 
configuration property.</td><td>These properties will be added on the Kafka 
configuration after loading any provided configuration properties. In the event 
a dynamic property represents a property that was already set, its value will 
be ignored and WARN message logged. For the list of available Kafka properties 
please refer to: http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles
 for which all content was sent to Kafka.</td></tr><tr><td>failure</td><td>Any 
FlowFile that cannot be sent to Kafka will be routed to this 
Relationship</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3>None specified.</body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>PublishKafka_0_10</title><link rel="stylesheet" 
href="../../css/component-usage.css" 
type="text/css"></link></head><body><h2>Description: </h2><p>Sends the contents 
of a FlowFile as a message to Apache Kafka using the Kafka 0.10.x Producer 
API.The messages to send may be individual FlowFiles or may be delimited, using 
a user-specified delimiter, such as a new-line.  Please note there are cases 
where the publisher can get into an indefinite stuck state.  We are closely 
monitoring how this evolves in the Kafka community and will take advantage of 
those fixes as soon as we can.  In the meantime it is possible to enter states 
where the only resolution will be to restart the JVM NiFi runs on. The 
complementary NiFi processor for fetching messages is 
ConsumeKafka_0_10.</p><p><a href="additionalDetails.html">Additional 
Details...</a></p><h3>Tags: </h3><p>Apache, Kafka, Put, Send, Message, PubSub, 
0.10.x</p><h3>Propert
 ies: </h3><p>In the list below, the names of required properties appear in 
<strong>bold</strong>. Any other properties (not in bold) are considered 
optional. The table also indicates any default values, and whether a property 
supports the <a href="../../html/expression-language-guide.html">NiFi 
Expression Language</a>.</p><table id="properties"><tr><th>Name</th><th>Default 
Value</th><th>Allowable Values</th><th>Description</th></tr><tr><td 
id="name"><strong>Kafka Brokers</strong></td><td 
id="default-value">localhost:9092</td><td id="allowable-values"></td><td 
id="description">A comma-separated list of known Kafka Brokers in the format 
&lt;host&gt;:&lt;port&gt;<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Security 
Protocol</strong></td><td id="default-value">PLAINTEXT</td><td 
id="allowable-values"><ul><li>PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="PLAINTEXT" 
title="PLAINTEXT"></img></li><li>SSL <img src="../../html/images/ic
 onInfo.png" alt="SSL" title="SSL"></img></li><li>SASL_PLAINTEXT <img 
src="../../html/images/iconInfo.png" alt="SASL_PLAINTEXT" 
title="SASL_PLAINTEXT"></img></li><li>SASL_SSL <img 
src="../../html/images/iconInfo.png" alt="SASL_SSL" 
title="SASL_SSL"></img></li></ul></td><td id="description">Protocol used to 
communicate with brokers. Corresponds to Kafka's 'security.protocol' 
property.</td></tr><tr><td id="name">Kerberos Service Name</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
Kerberos principal name that Kafka runs as. This can be defined either in 
Kafka's JAAS config or in Kafka's config. Corresponds to Kafka's 
'security.protocol' property.It is ignored unless one of the SASL options of 
the &lt;Security Protocol&gt; are selected.</td></tr><tr><td id="name">SSL 
Context Service</td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>SSLContextService<br/><strong>Implementation:</strong><br/><a h
 
ref="../org.apache.nifi.ssl.StandardSSLContextService/index.html">StandardSSLContextService</a></td><td
 id="description">Specifies the SSL Context Service to use for communicating 
with Kafka.</td></tr><tr><td id="name"><strong>Topic Name</strong></td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
name of the Kafka Topic to publish to.<br/><strong>Supports Expression 
Language: true</strong></td></tr><tr><td id="name"><strong>Delivery 
Guarantee</strong></td><td id="default-value">0</td><td 
id="allowable-values"><ul><li>Best Effort <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to success 
after successfully writing the content to a Kafka node, without waiting for a 
response. This provides the best performance but may result in data loss." 
title="FlowFile will be routed to success after successfully writing the 
content to a Kafka node, without waiting for a response. This provides the best 
performance but may result in data lo
 ss."></img></li><li>Guarantee Single Node Delivery <img 
src="../../html/images/iconInfo.png" alt="FlowFile will be routed to success if 
the message is received by a single Kafka node, whether or not it is 
replicated. This is faster than &lt;Guarantee Replicated Delivery&gt; but can 
result in data loss if a Kafka node crashes" title="FlowFile will be routed to 
success if the message is received by a single Kafka node, whether or not it is 
replicated. This is faster than &lt;Guarantee Replicated Delivery&gt; but can 
result in data loss if a Kafka node crashes"></img></li><li>Guarantee 
Replicated Delivery <img src="../../html/images/iconInfo.png" alt="FlowFile 
will be routed to failure unless the message is replicated to the appropriate 
number of Kafka Nodes according to the Topic configuration" title="FlowFile 
will be routed to failure unless the message is replicated to the appropriate 
number of Kafka Nodes according to the Topic 
configuration"></img></li></ul></td><td id="descriptio
 n">Specifies the requirement for guaranteeing that a message is sent to Kafka. 
Corresponds to Kafka's 'acks' property.</td></tr><tr><td id="name">Kafka 
Key</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">The Key to use for the Message. If not specified, the flow 
file attribute 'kafka.key' is used as the message key, if it is present and 
we're not demarcating.<br/><strong>Supports Expression Language: 
true</strong></td></tr><tr><td id="name"><strong>Key Attribute 
Encoding</strong></td><td id="default-value">utf-8</td><td 
id="allowable-values"><ul><li>UTF-8 Encoded <img 
src="../../html/images/iconInfo.png" alt="The key is interpreted as a UTF-8 
Encoded string." title="The key is interpreted as a UTF-8 Encoded 
string."></img></li><li>Hex Encoded <img src="../../html/images/iconInfo.png" 
alt="The key is interpreted as arbitrary binary data that is encoded using 
hexadecimal characters with uppercase letters." title="The key is interpreted 
as arbitrary 
 binary data that is encoded using hexadecimal characters with uppercase 
letters."></img></li></ul></td><td id="description">FlowFiles that are emitted 
have an attribute named 'kafka.key'. This property dictates how the value of 
the attribute should be encoded.</td></tr><tr><td id="name">Message 
Demarcator</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">Specifies the string (interpreted as UTF-8) to use for 
demarcating 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. To enter special character such as 'new line' 
use CTRL+Enter or Shift+Enter, depending on your OS.<br/><strong>Supports 
Expression Language: true</strong></td></tr><tr><td id="name"><strong>Max 
Request Size</strong></td><td id="default-value">1 MB</td><td 
id="allowable-values"></td
 ><td id="description">The maximum size of a request in bytes. Corresponds to 
 >Kafka's 'max.request.size' property and defaults to 1 MB 
 >(1048576).</td></tr><tr><td id="name"><strong>Acknowledgment Wait 
 >Time</strong></td><td id="default-value">5 secs</td><td 
 >id="allowable-values"></td><td id="description">After sending a message to 
 >Kafka, this indicates the amount of time that we are willing to wait for a 
 >response from Kafka. If Kafka does not acknowledge the message within this 
 >time period, the FlowFile will be routed to 'failure'.</td></tr><tr><td 
 >id="name"><strong>Max Metadata Wait Time</strong></td><td 
 >id="default-value">5 sec</td><td id="allowable-values"></td><td 
 >id="description">The amount of time publisher will wait to obtain metadata or 
 >wait for the buffer to flush during the 'send' call before failing the entire 
 >'send' call. Corresponds to Kafka's 'max.block.ms' 
 >property<br/><strong>Supports Expression Language: 
 >true</strong></td></tr><tr><td id="name">Partitioner class</td><
 td 
id="default-value">org.apache.kafka.clients.producer.internals.DefaultPartitioner</td><td
 id="allowable-values"><ul><li>RoundRobinPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned partitions 
in a round-robin fashion, sending the first message to Partition 1, the next 
Partition to Partition 2, and so on, wrapping as necessary." title="Messages 
will be assigned partitions in a round-robin fashion, sending the first message 
to Partition 1, the next Partition to Partition 2, and so on, wrapping as 
necessary."></img></li><li>DefaultPartitioner <img 
src="../../html/images/iconInfo.png" alt="Messages will be assigned to random 
partitions." title="Messages will be assigned to random 
partitions."></img></li></ul></td><td id="description">Specifies which class to 
use to compute a partition id for a message. Corresponds to Kafka's 
'partitioner.class' property.</td></tr><tr><td id="name"><strong>Compression 
Type</strong></td><td id="default-value">none</td>
 <td 
id="allowable-values"><ul><li>none</li><li>gzip</li><li>snappy</li><li>lz4</li></ul></td><td
 id="description">This parameter allows you to specify the compression codec 
for all data generated by this producer.</td></tr></table><h3>Dynamic 
Properties: </h3><p>Dynamic Properties allow the user to specify both the name 
and value of a property.<table 
id="dynamic-properties"><tr><th>Name</th><th>Value</th><th>Description</th></tr><tr><td
 id="name">The name of a Kafka configuration property.</td><td id="value">The 
value of a given Kafka configuration property.</td><td>These properties will be 
added on the Kafka configuration after loading any provided configuration 
properties. In the event a dynamic property represents a property that was 
already set, its value will be ignored and WARN message logged. For the list of 
available Kafka properties please refer to: 
http://kafka.apache.org/documentation.html#configuration. 
</td></tr></table></p><h3>Relationships: </h3><table id="relationshi
 
ps"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>FlowFiles 
for which all content was sent to Kafka.</td></tr><tr><td>failure</td><td>Any 
FlowFile that cannot be sent to Kafka will be routed to this 
Relationship</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>msg.count</td><td>The
 number of messages that were sent to Kafka for this FlowFile. This attribute 
is added only to FlowFiles that are routed to success. If the &lt;Message 
Demarcator&gt; Property is not set, this will always be 1, but if the Property 
is set, it may be greater than 1.</td></tr></table><h3>State management: 
</h3>This processor has no state management.<h3>Restricted: </h3></body></html>
\ No newline at end of file


Reply via email to