Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupAttribute/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupAttribute/index.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupAttribute/index.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupAttribute/index.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>LookupAttribute</title><link rel="stylesheet" 
href="../../../../../css/component-usage.css" 
type="text/css"></link></head><script type="text/javascript">window.onload = 
function(){if(self==top) { document.getElementById('nameHeader').style.display 
= "inherit"; } }</script><body><h1 id="nameHeader" style="display: 
none;">LookupAttribute</h1><h2>Description: </h2><p>Lookup attributes from a 
lookup service</p><h3>Tags: </h3><p>lookup, cache, enrich, join, attributes, 
Attribute Expression Language</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.</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>Lookup Service</strong></td><td id="default-value"></td><td 
id="all
 owable-values"><strong>Controller Service API: 
</strong><br/>StringLookupService<br/><strong>Implementations: </strong><a 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.db.SimpleDatabaseLookupService/index.html">SimpleDatabaseLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.SimpleCsvFileLookupService/index.html">SimpleCsvFileLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.PropertiesFileLookupService/index.html">PropertiesFileLookupService</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.lookup.script.SimpleScriptedLookupService/index.html">SimpleScriptedLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.SimpleKeyValueLookupService/index.html">SimpleKeyValueLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.XMLFileLookupService/index.html">XMLFileLookupService</a><
 br/><a 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.DistributedMapCacheLookupService/index.html">DistributedMapCacheLookupService</a><br/><a
 
href="../../../nifi-elasticsearch-client-service-nar/1.11.4/org.apache.nifi.elasticsearch.ElasticSearchStringLookupService/index.html">ElasticSearchStringLookupService</a><br/><a
 
href="../../../nifi-couchbase-nar/1.11.4/org.apache.nifi.couchbase.CouchbaseKeyValueLookupService/index.html">CouchbaseKeyValueLookupService</a></td><td
 id="description">The lookup service to use for attribute 
lookups</td></tr><tr><td id="name"><strong>Include Empty 
Values</strong></td><td id="default-value">true</td><td 
id="allowable-values"><ul><li>true</li><li>false</li></ul></td><td 
id="description">Include null or blank values for keys that are null or 
blank</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 the attribute 
to add to the FlowFile</td><td id="value">The name of the key or property to 
retrieve from the lookup service</td><td>Adds a FlowFile attribute specified by 
the dynamic property's key with the value found in the lookup service using the 
the dynamic property's value<br/><strong>Supports Expression Language: true 
(will be evaluated using flow file attributes and variable 
registry)</strong></td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>failure</td><td>FlowFiles
 with failing lookups are routed to this 
relationship</td></tr><tr><td>unmatched</td><td>FlowFiles with missing lookups 
are routed to this relationship</td></tr><tr><td>matched</td><td>FlowFiles with 
matching lookups are routed to this relationship</td></tr></table><h3>Reads 
Attributes: </h3>None specified.<h3>Writes Attributes: </h3>None 
specified.<h3>State management: </h3>Thi
 s component does not store state.<h3>Restricted: </h3>This component is not 
restricted.<h3>Input requirement: </h3>This component requires an incoming 
relationship.<h3>System Resource Considerations:</h3>None 
specified.</body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/additionalDetails.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/additionalDetails.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/additionalDetails.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/additionalDetails.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1,215 @@
+<!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>LookupRecord</title>
+
+        <link rel="stylesheet" href="../../../../../css/component-usage.css" 
type="text/css" />
+    </head>
+
+    <body>
+       <p>
+               LookupRecord makes use of the NiFi <a 
href="../../../../../html/record-path-guide.html">
+               RecordPath Domain-Specific Language (DSL)</a> to allow the user 
to indicate which field(s), 
+               depending on the Record Update Strategy, in the Record should 
be updated. The Record will 
+               be updated using the value returned by the provided Lookup 
Service.
+       </p>
+
+               <h3>Record Update Strategy - Use Property</h3>
+               
+       <p>
+               In this case, the user should add, to the Processor's 
configuration, as much User-defined 
+               Properties as required by the Lookup Service to form the lookup 
coordinates. The name of 
+               the properties should match the names expected by the Lookup 
Service.
+       </p>
+               
+       <p>
+               The field evaluated using the path configured in the "Result 
RecordPath" property will be 
+               the field updated with the value returned by the Lookup Service.
+       </p>
+       
+       <p>
+               Let's assume a Simple Key Value Lookup Service containing the 
following key/value pairs:
+       </p>
+       
+<code>
+<pre>
+FR => France
+CA => Canada
+</pre>
+</code>
+               
+       <p>
+               Let's assume the following JSON with three records as input:
+       </p>
+       
+<code>
+<pre>
+[
+       {
+               "country": null,
+               "code": "FR"
+       }, {
+               "country": null,
+               "code": "CA"
+       }, {
+               "country": null,
+               "code": "JP"
+       }
+]
+</pre>
+</code>
+
+       <p>
+               The processor is configured with "Use Property" as "Record 
Update Strategy", the "Result 
+               RecordPath" is configured with "/country" and a user-defined 
property is added with the 
+               name "key" (as required by this Lookup Service) and the value 
"/code".
+       </p>
+
+       <p>
+               When triggered, the processor will look for the value 
associated to the "/code" path and 
+               will use the value as the "key" of the Lookup Service. The 
value returned by the Lookup 
+               Service will be used to update the value corresponding to 
"/country". With the above 
+               examples, it will produce:
+       </p>
+
+<code>
+<pre>
+[
+       {
+               "country": "France",
+               "code": "FR"
+       }, {
+               "country": "Canada",
+               "code": "CA"
+       }, {
+               "country": null,
+               "code": "JP"
+       }
+]
+</pre>
+</code>
+
+               <h3>Record Update Strategy - Replace Existing Values</h3>
+
+       <p>
+               With this strategy, the "Result RecordPath" property will be 
ignored and the configured Lookup 
+               Service must be a single single key lookup service. For each 
user-defined property, the value 
+               contained in the field corresponding to the record path will be 
used as the key in the Lookup 
+               Service and will be replaced by the value returned by the 
Lookup Service. It is possible to 
+               configure multiple dynamic properties to update multiple fields 
in one execution. This strategy 
+               only supports simple types replacements (strings, integers, 
etc).
+       </p>
+
+       <p>
+               Since this strategy allows in-place replacement, it is possible 
to use Record Paths for fields 
+               contained in arrays.
+       </p>
+       
+       <p>
+               Let's assume a Simple Key Value Lookup Service containing the 
following key/value pairs:
+       </p>
+       
+<code>
+<pre>
+FR => France
+CA => Canada
+fr => French
+en => English
+</pre>
+</code>
+               
+       <p>
+               Let's assume the following JSON with two records as input:
+       </p>
+       
+<code>
+<pre>
+[
+       {
+               "locales": [
+                       {
+                               "region": "FR",
+                               "language": "fr"
+                       }, {
+                               "region": "US",
+                               "language": "en"
+                       }
+               ]
+       }, {
+               "locales": [
+                       {
+                               "region": "CA",
+                               "language": "fr"
+                       }, 
+                       {
+                               "region": "JP",
+                               "language": "ja"
+                       }
+               ]
+       }
+]
+</pre>
+</code>
+
+       <p>
+               The processor is configured with "Replace Existing Values" as 
"Record Update Strategy", 
+               two user-defined properties are added: "region" => 
"/locales[*]/region" and "language 
+               => "/locales[*]/language"..
+       </p>
+
+       <p>
+               When triggered, the processor will loop over the user-defined 
properties. First, it'll 
+               search for the fields corresponding to "/locales[*]/region", 
for each value from the 
+               record, the value will be used as the key with the Lookup 
Service and the value will 
+               be replaced by the result returned by the Lookup Service. 
Example: the first region is 
+               "FR" and this key is associated to the value "France" in the 
Lookup Service, so the 
+               value "FR" is replaced by "France" in the record. With the 
above examples, it will 
+               produce:
+       </p>
+       
+<code>
+<pre>
+[
+       {
+               "locales": [
+                       {
+                               "region": "France",
+                               "language": "French"
+                       }, {
+                               "region": "US",
+                               "language": "English"
+                       }
+               ]
+       }, {
+               "locales": [
+                       {
+                               "region": "Canada",
+                               "language": "French"
+                       }, 
+                       {
+                               "region": "JP",
+                               "language": "ja"
+                       }
+               ]
+       }
+]
+</pre>
+</code>
+
+       </body>
+</html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/index.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/index.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.LookupRecord/index.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>LookupRecord</title><link rel="stylesheet" 
href="../../../../../css/component-usage.css" 
type="text/css"></link></head><script type="text/javascript">window.onload = 
function(){if(self==top) { document.getElementById('nameHeader').style.display 
= "inherit"; } }</script><body><h1 id="nameHeader" style="display: 
none;">LookupRecord</h1><h2>Description: </h2><p>Extracts one or more fields 
from a Record and looks up a value for those fields in a LookupService. If a 
result is returned by the LookupService, that result is optionally added to the 
Record. In this case, the processor functions as an Enrichment processor. 
Regardless, the Record is then routed to either the 'matched' relationship or 
'unmatched' relationship (if the 'Routing Strategy' property is configured to 
do so), indicating whether or not a result was returned by the LookupService, 
allowing the processor to also function as a Routing processor. The "c
 oordinates" to use for looking up a value in the Lookup Service are defined by 
adding a user-defined property. Each property that is added will have an entry 
added to a Map, where the name of the property becomes the Map Key and the 
value returned by the RecordPath becomes the value for that key. If multiple 
values are returned by the RecordPath, then the Record will be routed to the 
'unmatched' relationship (or 'success', depending on the 'Routing Strategy' 
property's configuration). If one or more fields match the Result RecordPath, 
all fields that match will be updated. If there is no match in the configured 
LookupService, then no fields will be updated. I.e., it will not overwrite an 
existing value in the Record with a null value. Please note, however, that if 
the results returned by the LookupService are not accounted for in your schema 
(specifically, the schema that is configured for your Record Writer) then the 
fields will not be written out to the FlowFile.</p><p><a href="ad
 ditionalDetails.html">Additional Details...</a></p><h3>Tags: </h3><p>lookup, 
enrichment, route, record, csv, json, avro, database, db, logs, convert, 
filter</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>Record Reader</strong></td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>RecordReaderFactory<br/><strong>Implementations: </strong><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.syslog.Syslog5424Reader/index.html">Syslog5424Reader</a><br/><a
 href="../../../nifi-record
 
-serialization-services-nar/1.11.4/org.apache.nifi.grok.GrokReader/index.html">GrokReader</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.record.script.ScriptedReader/index.html">ScriptedReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonTreeReader/index.html">JsonTreeReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.syslog.SyslogReader/index.html">SyslogReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.avro.AvroReader/index.html">AvroReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.xml.XMLReader/index.html">XMLReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonPathReader/index.html">JsonPathReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.csv.CSVReader/index.html">CSVReader</a><b
 r/><a 
href="../../../nifi-parquet-nar/1.11.4/org.apache.nifi.parquet.ParquetReader/index.html">ParquetReader</a></td><td
 id="description">Specifies the Controller Service to use for reading incoming 
data</td></tr><tr><td id="name"><strong>Record Writer</strong></td><td 
id="default-value"></td><td id="allowable-values"><strong>Controller Service 
API: </strong><br/>RecordSetWriterFactory<br/><strong>Implementations: 
</strong><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.xml.XMLRecordSetWriter/index.html">XMLRecordSetWriter</a><br/><a
 
href="../../../nifi-parquet-nar/1.11.4/org.apache.nifi.parquet.ParquetRecordSetWriter/index.html">ParquetRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.csv.CSVRecordSetWriter/index.html">CSVRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.text.FreeFormTextRecordSetWriter/index.html">FreeFormTextRecordSetWriter</
 a><br/><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonRecordSetWriter/index.html">JsonRecordSetWriter</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.record.script.ScriptedRecordSetWriter/index.html">ScriptedRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.avro.AvroRecordSetWriter/index.html">AvroRecordSetWriter</a></td><td
 id="description">Specifies the Controller Service to use for writing out the 
records</td></tr><tr><td id="name"><strong>Lookup Service</strong></td><td 
id="default-value"></td><td id="allowable-values"><strong>Controller Service 
API: </strong><br/>LookupService<br/><strong>Implementations: </strong><a 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.db.SimpleDatabaseLookupService/index.html">SimpleDatabaseLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.db.DatabaseRecordLookupServic
 e/index.html">DatabaseRecordLookupService</a><br/><a 
href="../../../nifi-hbase_2-client-service-nar/1.11.4/org.apache.nifi.hbase.HBase_2_RecordLookupService/index.html">HBase_2_RecordLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.maxmind.IPLookupService/index.html">IPLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.SimpleCsvFileLookupService/index.html">SimpleCsvFileLookupService</a><br/><a
 
href="../../../nifi-hbase_1_1_2-client-service-nar/1.11.4/org.apache.nifi.hbase.HBase_1_1_2_ListLookupService/index.html">HBase_1_1_2_ListLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.RestLookupService/index.html">RestLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.PropertiesFileLookupService/index.html">PropertiesFileLookupService</a><br/><a
 href="../../../nifi-kudu-nar/1.11.4/org.apache.nifi.controller.kudu.
 KuduLookupService/index.html">KuduLookupService</a><br/><a 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.CSVRecordLookupService/index.html">CSVRecordLookupService</a><br/><a
 
href="../../../nifi-hbase_1_1_2-client-service-nar/1.11.4/org.apache.nifi.hbase.HBase_1_1_2_RecordLookupService/index.html">HBase_1_1_2_RecordLookupService</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.lookup.script.SimpleScriptedLookupService/index.html">SimpleScriptedLookupService</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.lookup.script.ScriptedLookupService/index.html">ScriptedLookupService</a><br/><a
 
href="../../../nifi-couchbase-nar/1.11.4/org.apache.nifi.couchbase.CouchbaseRecordLookupService/index.html">CouchbaseRecordLookupService</a><br/><a
 
href="../../../nifi-elasticsearch-client-service-nar/1.11.4/org.apache.nifi.elasticsearch.ElasticSearchLookupService/index.html">ElasticSearchLookupService</a><br/><a
 href="../../../nifi-lookup-se
 
rvices-nar/1.11.4/org.apache.nifi.lookup.SimpleKeyValueLookupService/index.html">SimpleKeyValueLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.XMLFileLookupService/index.html">XMLFileLookupService</a><br/><a
 
href="../../../nifi-mongodb-services-nar/1.11.4/org.apache.nifi.mongodb.MongoDBLookupService/index.html">MongoDBLookupService</a><br/><a
 
href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.DistributedMapCacheLookupService/index.html">DistributedMapCacheLookupService</a><br/><a
 
href="../../../nifi-elasticsearch-client-service-nar/1.11.4/org.apache.nifi.elasticsearch.ElasticSearchStringLookupService/index.html">ElasticSearchStringLookupService</a><br/><a
 
href="../../../nifi-couchbase-nar/1.11.4/org.apache.nifi.couchbase.CouchbaseKeyValueLookupService/index.html">CouchbaseKeyValueLookupService</a></td><td
 id="description">The Lookup Service to use in order to lookup a value in each 
Record</td></tr><tr><td id="name">Re
 sult RecordPath</td><td id="default-value"></td><td 
id="allowable-values"></td><td id="description">A RecordPath that points to the 
field whose value should be updated with whatever value is returned from the 
Lookup Service. If not specified, the value that is returned from the Lookup 
Service will be ignored, except for determining whether the FlowFile should be 
routed to the 'matched' or 'unmatched' Relationship.<br/><strong>Supports 
Expression Language: true (will be evaluated using flow file attributes and 
variable registry)</strong></td></tr><tr><td id="name"><strong>Routing 
Strategy</strong></td><td id="default-value">route-to-success</td><td 
id="allowable-values"><ul><li>Route to 'success' <img 
src="../../../../../html/images/iconInfo.png" alt="Records will be routed to a 
'success' Relationship regardless of whether or not there is a match in the 
configured Lookup Service" title="Records will be routed to a 'success' 
Relationship regardless of whether or not there is a match i
 n the configured Lookup Service"></img></li><li>Route to 'matched' or 
'unmatched' <img src="../../../../../html/images/iconInfo.png" alt="Records 
will be routed to either a 'matched' or an 'unmatched' Relationship depending 
on whether or not there was a match in the configured Lookup Service. A single 
input FlowFile may result in two different output FlowFiles." title="Records 
will be routed to either a 'matched' or an 'unmatched' Relationship depending 
on whether or not there was a match in the configured Lookup Service. A single 
input FlowFile may result in two different output 
FlowFiles."></img></li></ul></td><td id="description">Specifies how to route 
records after a Lookup has completed</td></tr><tr><td id="name"><strong>Record 
Result Contents</strong></td><td 
id="default-value">insert-entire-record</td><td 
id="allowable-values"><ul><li>Insert Entire Record <img 
src="../../../../../html/images/iconInfo.png" alt="The entire Record that is 
retrieved from the Lookup Service will b
 e inserted into the destination path." title="The entire Record that is 
retrieved from the Lookup Service will be inserted into the destination 
path."></img></li><li>Insert Record Fields <img 
src="../../../../../html/images/iconInfo.png" alt="All of the fields in the 
Record that is retrieved from the Lookup Service will be inserted into the 
destination path." title="All of the fields in the Record that is retrieved 
from the Lookup Service will be inserted into the destination 
path."></img></li></ul></td><td id="description">When a result is obtained that 
contains a Record, this property determines whether the Record itself is 
inserted at the configured path or if the contents of the Record (i.e., the 
sub-fields) will be inserted at the configured path.</td></tr><tr><td 
id="name"><strong>Record Update Strategy</strong></td><td 
id="default-value">use-property</td><td id="allowable-values"><ul><li>Replace 
Existing Values <img src="../../../../../html/images/iconInfo.png" alt="The 
&quot
 ;Result RecordPath&quot; property will be ignored and the lookup service must 
be a single simple key lookup service. Every dynamic property value should be a 
record path. For each dynamic property, the value contained in the field 
corresponding to the record path will be used as the key in the Lookup Service 
and the value returned by the Lookup Service will be used to replace the 
existing value. It is possible to configure multiple dynamic properties to 
replace multiple values in one execution. This strategy only supports simple 
types replacements (strings, integers, etc)." title="The &quot;Result 
RecordPath&quot; property will be ignored and the lookup service must be a 
single simple key lookup service. Every dynamic property value should be a 
record path. For each dynamic property, the value contained in the field 
corresponding to the record path will be used as the key in the Lookup Service 
and the value returned by the Lookup Service will be used to replace the 
existing value. I
 t is possible to configure multiple dynamic properties to replace multiple 
values in one execution. This strategy only supports simple types replacements 
(strings, integers, etc)."></img></li><li>Use Property <img 
src="../../../../../html/images/iconInfo.png" alt="The &quot;Result 
RecordPath&quot; property will be used to determine which part of the record 
should be updated with the value returned by the Lookup Service" title="The 
&quot;Result RecordPath&quot; property will be used to determine which part of 
the record should be updated with the value returned by the Lookup 
Service"></img></li></ul></td><td id="description">This property defines the 
strategy to use when updating the record with the value returned by the Lookup 
Service.</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">Value To Looku
 p</td><td id="value">Valid Record Path</td><td>A RecordPath that points to the 
field whose value will be looked up in the configured Lookup 
Service<br/><strong>Supports Expression Language: true (will be evaluated using 
flow file attributes and variable 
registry)</strong></td></tr></table></p><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>success</td><td>All
 records will be sent to this Relationship if configured to do so, unless a 
failure occurs</td></tr><tr><td>failure</td><td>If a FlowFile cannot be 
transformed from the configured input format to the configured output format, 
the unchanged FlowFile 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>mime.type</td><td>Sets
 the mime.type attribute to the MIME Type specified by the Record 
Writer</td></tr><tr><td>record.count</td><td
 >The number of records in the FlowFile</td></tr></table><h3>State management: 
 ></h3>This component does not store state.<h3>Restricted: </h3>This component 
 >is not restricted.<h3>Input requirement: </h3>This component requires an 
 >incoming relationship.<h3>System Resource Considerations:</h3>None 
 >specified.<h3>See Also:</h3><p><a 
 >href="../org.apache.nifi.processors.standard.ConvertRecord/index.html">ConvertRecord</a>,
 > <a 
 >href="../org.apache.nifi.processors.standard.SplitRecord/index.html">SplitRecord</a>,
 > <a 
 >href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.SimpleKeyValueLookupService/index.html">SimpleKeyValueLookupService</a>,
 > <a 
 >href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.maxmind.IPLookupService/index.html">IPLookupService</a>,
 > <a 
 >href="../../../nifi-lookup-services-nar/1.11.4/org.apache.nifi.lookup.db.DatabaseRecordLookupService/index.html">DatabaseRecordLookupService</a></p></body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeContent/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeContent/index.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeContent/index.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeContent/index.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>MergeContent</title><link rel="stylesheet" 
href="../../../../../css/component-usage.css" 
type="text/css"></link></head><script type="text/javascript">window.onload = 
function(){if(self==top) { document.getElementById('nameHeader').style.display 
= "inherit"; } }</script><body><h1 id="nameHeader" style="display: 
none;">MergeContent</h1><h2>Description: </h2><p>Merges a Group of FlowFiles 
together based on a user-defined strategy and packages them into a single 
FlowFile. It is recommended that the Processor be configured with only a single 
incoming connection, as Group of FlowFiles will not be created from FlowFiles 
in different connections. This processor updates the mime.type attribute as 
appropriate.</p><h3>Tags: </h3><p>merge, content, correlation, tar, zip, 
stream, concatenation, archive, flowfile-stream, 
flowfile-stream-v3</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>Merge Strategy</strong></td><td 
id="default-value">Bin-Packing Algorithm</td><td 
id="allowable-values"><ul><li>Bin-Packing Algorithm <img 
src="../../../../../html/images/iconInfo.png" alt="Generates 'bins' of 
FlowFiles and fills each bin as full as possible. FlowFiles are placed into a 
bin based on their size and optionally their attributes (if the &lt;Correlation 
Attribute&gt; property is set)" title="Generates 'bins' of FlowFiles and fills 
each bin as full as possible. FlowFiles are placed into a bin based on their 
size and optionally their attributes (if the &lt;Correlation Attribute&gt; 
 property is set)"></img></li><li>Defragment <img 
src="../../../../../html/images/iconInfo.png" alt="Combines fragments that are 
associated by attributes back into a single cohesive FlowFile. If using this 
strategy, all FlowFiles must have the attributes &lt;fragment.identifier&gt;, 
&lt;fragment.count&gt;, and &lt;fragment.index&gt; or alternatively (for 
backward compatibility purposes) &lt;segment.identifier&gt;, 
&lt;segment.count&gt;, and &lt;segment.index&gt;. All FlowFiles with the same 
value for &quot;fragment.identifier&quot; will be grouped together. All 
FlowFiles in this group must have the same value for the 
&quot;fragment.count&quot; attribute. All FlowFiles in this group must have a 
unique value for the &quot;fragment.index&quot; attribute between 0 and the 
value of the &quot;fragment.count&quot; attribute." title="Combines fragments 
that are associated by attributes back into a single cohesive FlowFile. If 
using this strategy, all FlowFiles must have the attributes &lt;fr
 agment.identifier&gt;, &lt;fragment.count&gt;, and &lt;fragment.index&gt; or 
alternatively (for backward compatibility purposes) &lt;segment.identifier&gt;, 
&lt;segment.count&gt;, and &lt;segment.index&gt;. All FlowFiles with the same 
value for &quot;fragment.identifier&quot; will be grouped together. All 
FlowFiles in this group must have the same value for the 
&quot;fragment.count&quot; attribute. All FlowFiles in this group must have a 
unique value for the &quot;fragment.index&quot; attribute between 0 and the 
value of the &quot;fragment.count&quot; attribute."></img></li></ul></td><td 
id="description">Specifies the algorithm used to merge content. The 
'Defragment' algorithm combines fragments that are associated by attributes 
back into a single cohesive FlowFile. The 'Bin-Packing Algorithm' generates a 
FlowFile populated by arbitrarily chosen FlowFiles</td></tr><tr><td 
id="name"><strong>Merge Format</strong></td><td id="default-value">Binary 
Concatenation</td><td id="allowable-va
 lues"><ul><li>TAR <img src="../../../../../html/images/iconInfo.png" alt="A 
bin of FlowFiles will be combined into a single TAR file. The FlowFiles' 
&lt;path&gt; attribute will be used to create a directory in the TAR file if 
the &lt;Keep Paths&gt; property is set to true; otherwise, all FlowFiles will 
be added at the root of the TAR file. If a FlowFile has an attribute named 
&lt;tar.permissions&gt; that is 3 characters, each between 0-7, that attribute 
will be used as the TAR entry's 'mode'." title="A bin of FlowFiles will be 
combined into a single TAR file. The FlowFiles' &lt;path&gt; attribute will be 
used to create a directory in the TAR file if the &lt;Keep Paths&gt; property 
is set to true; otherwise, all FlowFiles will be added at the root of the TAR 
file. If a FlowFile has an attribute named &lt;tar.permissions&gt; that is 3 
characters, each between 0-7, that attribute will be used as the TAR entry's 
'mode'."></img></li><li>ZIP <img src="../../../../../html/images/iconInfo.p
 ng" alt="A bin of FlowFiles will be combined into a single ZIP file. The 
FlowFiles' &lt;path&gt; attribute will be used to create a directory in the ZIP 
file if the &lt;Keep Paths&gt; property is set to true; otherwise, all 
FlowFiles will be added at the root of the ZIP file. The &lt;Compression 
Level&gt; property indicates the ZIP compression to use." title="A bin of 
FlowFiles will be combined into a single ZIP file. The FlowFiles' &lt;path&gt; 
attribute will be used to create a directory in the ZIP file if the &lt;Keep 
Paths&gt; property is set to true; otherwise, all FlowFiles will be added at 
the root of the ZIP file. The &lt;Compression Level&gt; property indicates the 
ZIP compression to use."></img></li><li>FlowFile Stream, v3 <img 
src="../../../../../html/images/iconInfo.png" alt="A bin of FlowFiles will be 
combined into a single Version 3 FlowFile Stream" title="A bin of FlowFiles 
will be combined into a single Version 3 FlowFile 
Stream"></img></li><li>FlowFile Stream, v2 <i
 mg src="../../../../../html/images/iconInfo.png" alt="A bin of FlowFiles will 
be combined into a single Version 2 FlowFile Stream" title="A bin of FlowFiles 
will be combined into a single Version 2 FlowFile 
Stream"></img></li><li>FlowFile Tar, v1 <img 
src="../../../../../html/images/iconInfo.png" alt="A bin of FlowFiles will be 
combined into a single Version 1 FlowFile Package" title="A bin of FlowFiles 
will be combined into a single Version 1 FlowFile 
Package"></img></li><li>Binary Concatenation <img 
src="../../../../../html/images/iconInfo.png" alt="The contents of all 
FlowFiles will be concatenated together into a single FlowFile" title="The 
contents of all FlowFiles will be concatenated together into a single 
FlowFile"></img></li><li>Avro <img 
src="../../../../../html/images/iconInfo.png" alt="The Avro contents of all 
FlowFiles will be concatenated together into a single FlowFile" title="The Avro 
contents of all FlowFiles will be concatenated together into a single 
FlowFile"></i
 mg></li></ul></td><td id="description">Determines the format that will be used 
to merge the content.</td></tr><tr><td id="name"><strong>Attribute 
Strategy</strong></td><td id="default-value">Keep Only Common 
Attributes</td><td id="allowable-values"><ul><li>Keep Only Common Attributes 
<img src="../../../../../html/images/iconInfo.png" alt="Any attribute that is 
not the same on all FlowFiles in a bin will be dropped. Those that are the same 
across all FlowFiles will be retained." title="Any attribute that is not the 
same on all FlowFiles in a bin will be dropped. Those that are the same across 
all FlowFiles will be retained."></img></li><li>Keep All Unique Attributes <img 
src="../../../../../html/images/iconInfo.png" alt="Any attribute that has the 
same value for all FlowFiles in a bin, or has no value for a FlowFile, will be 
kept. For example, if a bin consists of 3 FlowFiles and 2 of them have a value 
of 'hello' for the 'greeting' attribute and the third FlowFile has no 
'greeting' a
 ttribute then the outbound FlowFile will get a 'greeting' attribute with the 
value 'hello'." title="Any attribute that has the same value for all FlowFiles 
in a bin, or has no value for a FlowFile, will be kept. For example, if a bin 
consists of 3 FlowFiles and 2 of them have a value of 'hello' for the 
'greeting' attribute and the third FlowFile has no 'greeting' attribute then 
the outbound FlowFile will get a 'greeting' attribute with the value 
'hello'."></img></li></ul></td><td id="description">Determines which FlowFile 
attributes should be added to the bundle. If 'Keep All Unique Attributes' is 
selected, any attribute on any FlowFile that gets bundled will be kept unless 
its value conflicts with the value from another FlowFile. If 'Keep Only Common 
Attributes' is selected, only the attributes that exist on all FlowFiles in the 
bundle, with the same value, will be preserved.</td></tr><tr><td 
id="name">Correlation Attribute Name</td><td id="default-value"></td><td 
id="allowable-val
 ues"></td><td id="description">If specified, like FlowFiles will be binned 
together, where 'like FlowFiles' means FlowFiles that have the same value for 
this Attribute. If not specified, FlowFiles are bundled by the order in which 
they are pulled from the queue.<br/><strong>Supports Expression Language: true 
(will be evaluated using flow file attributes and variable 
registry)</strong></td></tr><tr><td id="name"><strong>Metadata 
Strategy</strong></td><td id="default-value">Do Not Merge Uncommon 
Metadata</td><td id="allowable-values"><ul><li>Use First Metadata <img 
src="../../../../../html/images/iconInfo.png" alt="For any input format that 
supports metadata (Avro, e.g.), the metadata for the first FlowFile in the bin 
will be set on the output FlowFile." title="For any input format that supports 
metadata (Avro, e.g.), the metadata for the first FlowFile in the bin will be 
set on the output FlowFile."></img></li><li>Keep Only Common Metadata <img 
src="../../../../../html/images/iconInf
 o.png" alt="For any input format that supports metadata (Avro, e.g.), any 
FlowFile whose metadata values match those of the first FlowFile, any 
additional metadata will be dropped but the FlowFile will be merged. Any 
FlowFile whose metadata values do not match those of the first FlowFile in the 
bin will not be merged." title="For any input format that supports metadata 
(Avro, e.g.), any FlowFile whose metadata values match those of the first 
FlowFile, any additional metadata will be dropped but the FlowFile will be 
merged. Any FlowFile whose metadata values do not match those of the first 
FlowFile in the bin will not be merged."></img></li><li>Do Not Merge Uncommon 
Metadata <img src="../../../../../html/images/iconInfo.png" alt="For any input 
format that supports metadata (Avro, e.g.), any FlowFile whose metadata values 
do not match those of the first FlowFile in the bin will not be merged." 
title="For any input format that supports metadata (Avro, e.g.), any FlowFile 
whose metadata
  values do not match those of the first FlowFile in the bin will not be 
merged."></img></li><li>Ignore Metadata <img 
src="../../../../../html/images/iconInfo.png" alt="Ignores (does not transfer, 
compare, etc.) any metadata from a FlowFile whose content supports embedded 
metadata." title="Ignores (does not transfer, compare, etc.) any metadata from 
a FlowFile whose content supports embedded metadata."></img></li></ul></td><td 
id="description">For FlowFiles whose input format supports metadata (Avro, 
e.g.), this property determines which metadata should be added to the bundle. 
If 'Use First Metadata' is selected, the metadata keys/values from the first 
FlowFile to be bundled will be used. If 'Keep Only Common Metadata' is 
selected, only the metadata that exists on all FlowFiles in the bundle, with 
the same value, will be preserved. If 'Ignore Metadata' is selected, no 
metadata is transferred to the outgoing bundled FlowFile. If 'Do Not Merge 
Uncommon Metadata' is selected, any FlowFi
 le whose metadata values do not match those of the first bundled FlowFile will 
not be merged.</td></tr><tr><td id="name"><strong>Minimum Number of 
Entries</strong></td><td id="default-value">1</td><td 
id="allowable-values"></td><td id="description">The minimum number of files to 
include in a bundle</td></tr><tr><td id="name"><strong>Maximum Number of 
Entries</strong></td><td id="default-value">1000</td><td 
id="allowable-values"></td><td id="description">The maximum number of files to 
include in a bundle</td></tr><tr><td id="name"><strong>Minimum Group 
Size</strong></td><td id="default-value">0 B</td><td 
id="allowable-values"></td><td id="description">The minimum size of for the 
bundle</td></tr><tr><td id="name">Maximum Group Size</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
maximum size for the bundle. If not specified, there is no 
maximum.</td></tr><tr><td id="name">Max Bin Age</td><td 
id="default-value"></td><td id="allowable-values"></td
 ><td id="description">The maximum age of a Bin that will trigger a Bin to be 
 >complete. Expected format is &lt;duration&gt; &lt;time unit&gt; where 
 >&lt;duration&gt; is a positive integer and time unit is one of seconds, 
 >minutes, hours</td></tr><tr><td id="name"><strong>Maximum number of 
 >Bins</strong></td><td id="default-value">5</td><td 
 >id="allowable-values"></td><td id="description">Specifies the maximum number 
 >of bins that can be held in memory at any one time</td></tr><tr><td 
 >id="name"><strong>Delimiter Strategy</strong></td><td 
 >id="default-value">Filename</td><td id="allowable-values"><ul><li>Filename 
 ><img src="../../../../../html/images/iconInfo.png" alt="The values of Header, 
 >Footer, and Demarcator will be retrieved from the contents of a file" 
 >title="The values of Header, Footer, and Demarcator will be retrieved from 
 >the contents of a file"></img></li><li>Text <img 
 >src="../../../../../html/images/iconInfo.png" alt="The values of Header, 
 >Footer, and Demarcator will be specified
  as property values" title="The values of Header, Footer, and Demarcator will 
be specified as property values"></img></li></ul></td><td 
id="description">Determines if Header, Footer, and Demarcator should point to 
files containing the respective content, or if the values of the properties 
should be used as the content.</td></tr><tr><td id="name">Header</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Filename specifying the header to use. If not specified, no 
header is supplied. This property is valid only when using the 
binary-concatenation merge strategy; otherwise, it is 
ignored.<br/><strong>Supports Expression Language: true (will be evaluated 
using flow file attributes and variable registry)</strong></td></tr><tr><td 
id="name">Footer</td><td id="default-value"></td><td 
id="allowable-values"></td><td id="description">Filename specifying the footer 
to use. If not specified, no footer is supplied. This property is valid only 
when using the binary
 -concatenation merge strategy; otherwise, it is ignored.<br/><strong>Supports 
Expression Language: true (will be evaluated using flow file attributes and 
variable registry)</strong></td></tr><tr><td id="name">Demarcator</td><td 
id="default-value"></td><td id="allowable-values"></td><td 
id="description">Filename specifying the demarcator to use. If not specified, 
no demarcator is supplied. This property is valid only when using the 
binary-concatenation merge strategy; otherwise, it is 
ignored.<br/><strong>Supports Expression Language: true (will be evaluated 
using flow file attributes and variable registry)</strong></td></tr><tr><td 
id="name"><strong>Compression Level</strong></td><td 
id="default-value">1</td><td 
id="allowable-values"><ul><li>0</li><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li><li>6</li><li>7</li><li>8</li><li>9</li></ul></td><td
 id="description">Specifies the compression level to use when using the Zip 
Merge Format; if not using the Zip Merge Format, this value 
 is ignored</td></tr><tr><td id="name"><strong>Keep Path</strong></td><td 
id="default-value">false</td><td 
id="allowable-values"><ul><li>true</li><li>false</li></ul></td><td 
id="description">If using the Zip or Tar Merge Format, specifies whether or not 
the FlowFiles' paths should be included in their entry names; if using other 
merge strategy, this value is ignored</td></tr><tr><td id="name">Tar Modified 
Time</td><td id="default-value">${file.lastModifiedTime}</td><td 
id="allowable-values"></td><td id="description">If using the Tar Merge Format, 
specifies if the Tar entry should store the modified timestamp either by 
expression (e.g. ${file.lastModifiedTime} or static value, both of which must 
match the ISO8601 format 'yyyy-MM-dd'T'HH:mm:ssZ'; if using other merge 
strategy or left blank, this value is ignored<br/><strong>Supports Expression 
Language: true (will be evaluated using flow file attributes and variable 
registry)</strong></td></tr></table><h3>Relationships: </h3><table id=
 
"relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>failure</td><td>If
 the bundle cannot be created, all FlowFiles that would have been used to 
created the bundle will be transferred to 
failure</td></tr><tr><td>original</td><td>The FlowFiles that were used to 
create the bundle</td></tr><tr><td>merged</td><td>The FlowFile containing the 
merged content</td></tr></table><h3>Reads Attributes: </h3><table 
id="reads-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>fragment.identifier</td><td>Applicable
 only if the &lt;Merge Strategy&gt; property is set to Defragment. All 
FlowFiles with the same value for this attribute will be bundled 
together.</td></tr><tr><td>fragment.index</td><td>Applicable only if the 
&lt;Merge Strategy&gt; property is set to Defragment. This attribute indicates 
the order in which the fragments should be assembled. This attribute must be 
present on all FlowFiles when using the Defragment Merge Strategy and must be a 
unique (i.e., unique acr
 oss all FlowFiles that have the same value for the "fragment.identifier" 
attribute) integer between 0 and the value of the fragment.count attribute. If 
two or more FlowFiles have the same value for the "fragment.identifier" 
attribute and the same value for the "fragment.index" attribute, the first 
FlowFile processed will be accepted and subsequent FlowFiles will not be 
accepted into the Bin.</td></tr><tr><td>fragment.count</td><td>Applicable only 
if the &lt;Merge Strategy&gt; property is set to Defragment. This attribute 
must be present on all FlowFiles with the same value for the 
fragment.identifier attribute. All FlowFiles in the same bundle must have the 
same value for this attribute. The value of this attribute indicates how many 
FlowFiles should be expected in the given 
bundle.</td></tr><tr><td>segment.original.filename</td><td>Applicable only if 
the &lt;Merge Strategy&gt; property is set to Defragment. This attribute must 
be present on all FlowFiles with the same value for the
  fragment.identifier attribute. All FlowFiles in the same bundle must have the 
same value for this attribute. The value of this attribute will be used for the 
filename of the completed merged 
FlowFile.</td></tr><tr><td>tar.permissions</td><td>Applicable only if the 
&lt;Merge Format&gt; property is set to TAR. The value of this attribute must 
be 3 characters; each character must be in the range 0 to 7 (inclusive) and 
indicates the file permissions that should be used for the FlowFile's TAR 
entry. If this attribute is missing or has an invalid value, the default value 
of 644 will be used</td></tr></table><h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>filename</td><td>When
 more than 1 file is merged, the filename comes from the 
segment.original.filename attribute. If that attribute does not exist in the 
source FlowFiles, then the filename is set to the number of nanoseconds 
matching system time. Then a filename extension may 
 be applied:if Merge Format is TAR, then the filename will be appended with 
.tar, if Merge Format is ZIP, then the filename will be appended with .zip, if 
Merge Format is FlowFileStream, then the filename will be appended with 
.pkg</td></tr><tr><td>merge.count</td><td>The number of FlowFiles that were 
merged into this bundle</td></tr><tr><td>merge.bin.age</td><td>The age of the 
bin, in milliseconds, when it was merged and output. Effectively this is the 
greatest amount of time that any FlowFile in this bundle remained waiting in 
this processor before it was output</td></tr><tr><td>merge.uuid</td><td>UUID of 
the merged flow file that will be added to the original flow files 
attributes.</td></tr></table><h3>State management: </h3>This component does not 
store state.<h3>Restricted: </h3>This component is not restricted.<h3>Input 
requirement: </h3>This component requires an incoming relationship.<h3>System 
Resource Considerations:</h3><table 
id="system-resource-considerations"><tr><th>Re
 source</th><th>Description</th></tr><tr><td>MEMORY</td><td>While content is 
not stored in memory, the FlowFiles' attributes are. The configuration of 
MergeContent (maximum bin size, maximum group size, maximum bin age, max number 
of entries) will influence how much memory is used. If merging together many 
small FlowFiles, a two-stage approach may be necessary in order to avoid 
excessive use of memory.</td></tr></table><h3>See Also:</h3><p><a 
href="../org.apache.nifi.processors.standard.SegmentContent/index.html">SegmentContent</a>,
 <a 
href="../org.apache.nifi.processors.standard.MergeRecord/index.html">MergeRecord</a></p></body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/additionalDetails.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/additionalDetails.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/additionalDetails.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/additionalDetails.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1,229 @@
+<!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>MergeRecord</title>
+
+        <link rel="stylesheet" href="../../../../../css/component-usage.css" 
type="text/css" />
+    </head>
+
+    <body>
+
+        <h3>Introduction</h3>
+       <p>
+           The MergeRecord Processor allows the user to take many FlowFiles 
that consist of record-oriented data (any data format for which there is
+           a Record Reader available) and combine the FlowFiles into one 
larger FlowFile. This may be preferable before pushing the data to a downstream
+           system that prefers larger batches of data, such as HDFS, or in 
order to improve performance of a NiFi flow by reducing the number of FlowFiles
+           that flow through the system (thereby reducing the contention 
placed on the FlowFile Repository, Provenance Repository, Content Repository, 
and
+           FlowFile Queues).
+       </p>
+
+       <p>
+               The Processor creates several 'bins' to put the FlowFiles in. 
The maximum number of bins to use is set to 5 by default, but this can be 
changed
+               by updating the value of the &lt;Maximum number of Bins&gt; 
property. The number of bins is bound in order to avoid running out of Java 
heap space.
+               Note: while the contents of a FlowFile are stored in the 
Content Repository and not in the Java heap space, the Processor must hold the 
FlowFile
+               objects themselves in memory. As a result, these FlowFiles with 
their attributes can potentially take up a great deal of heap space and cause
+               OutOfMemoryError's to be thrown. In order to avoid this, if you 
expect to merge many small FlowFiles together, it is advisable to instead use a
+               MergeContent that merges no more than say 1,000 FlowFiles into 
a bundle and then use a second MergeContent to merges these small bundles into
+               larger bundles. For example, to merge 1,000,000 FlowFiles 
together, use MergeRecord that uses a &lt;Maximum Number of Records&gt; of 
1,000 and route the
+               "merged" Relationship to a second MergeRecord that also sets 
the &lt;Maximum Number of Records&gt; to 1,000. The second MergeRecord will 
then merge 1,000 bundles
+               of 1,000, which in effect produces bundles of 1,000,000.
+       </p>
+
+
+
+       <h3>How FlowFiles are Binned</h3>
+       <p>
+           How the Processor determines which bin to place a FlowFile in 
depends on a few different configuration options. Firstly, the Merge Strategy
+           is considered. The Merge Strategy can be set to one of two options: 
Bin Packing Algorithm, or Defragment. When the goal is to simply combine
+           smaller FlowFiles into one larger FlowFiles, the Bin Packing 
Algorithm should be used. This algorithm picks a bin based on whether or not 
the FlowFile
+           can fit in the bin according to its size and the &lt;Maximum Bin 
Size&gt; property and whether or not the FlowFile is 'like' the other FlowFiles 
in
+           the bin. What it means for two FlowFiles to be 'like FlowFiles' is 
discussed at the end of this section.
+       </p>
+       
+       <p>
+           The "Defragment" Merge Strategy can be used when records need to be 
explicitly assigned to the same bin. For example, if data is split apart using
+           the SplitRecord Processor, each 'split' can be processed 
independently and later merged back together using this Processor with the
+           Merge Strategy set to Defragment. In order for FlowFiles to be 
added to the same bin when using this configuration, the FlowFiles must have 
the same
+           value for the "fragment.identifier" attribute. Each FlowFile with 
the same identifier must also have the same value for the "fragment.count" 
attribute
+           (which indicates how many FlowFiles belong in the bin) and a unique 
value for the "fragment.index" attribute so that the FlowFiles can be ordered
+           correctly.
+       </p>
+       
+       <p>
+           In order to be added to the same bin, two FlowFiles must be 'like 
FlowFiles.' In order for two FlowFiles to be like FlowFiles, they must have the 
same
+           schema, and if the &lt;Correlation Attribute Name&gt; property is 
set, they must have the same value for the specified attribute. For example, if 
the
+           &lt;Correlation Attribute Name&gt; is set to "filename" then two 
FlowFiles must have the same value for the "filename" attribute in order to be 
binned
+           together. If more than one attribute is needed in order to 
correlate two FlowFiles, it is recommended to use an UpdateAttribute processor 
before the
+           MergeRecord processor and combine the attributes. For example, if 
the goal is to bin together two FlowFiles only if they have the same value for 
the
+           "abc" attribute and the "xyz" attribute, then we could accomplish 
this by using UpdateAttribute and adding a property with name 
"correlation.attribute"
+           and a value of "abc=${abc},xyz=${xyz}" and then setting 
MergeRecord's &lt;Correlation Attribute Name&gt; property to 
"correlation.attribute".
+       </p>
+       
+       <p>
+               It is often useful to bin together only Records that have the 
same value for some field. For example, if we have point-of-sale data, perhaps 
the desire
+               is to bin together records that belong to the same store, as 
identified by the 'storeId' field. This can be accomplished by making use of 
the PartitionRecord
+               Processor ahead of MergeRecord. This Processor will allow one 
or more fields to be configured as the partitioning criteria and will create 
attributes for those
+               corresponding values. An UpdateAttribute processor could then 
be used, if necessary, to combine multiple attributes into a single correlation 
attribute,
+               as described above. See documentation for those processors for 
more details.
+       </p>
+
+
+
+               <h3>When a Bin is Merged</h3>           
+       <p>
+           Above, we discussed how a bin is chosen for a given FlowFile. Once 
a bin has been created and FlowFiles added to it, we must have some way to 
determine
+           when a bin is "full" so that we can bin those FlowFiles together 
into a "merged" FlowFile. There are a few criteria that are used to make a 
determination as
+           to whether or not a bin should be merged.
+       </p>
+
+               <p>
+                   If the &lt;Merge Strategy&gt; property is set to "Bin 
Packing Algorithm" then then the following rules will be evaluated.
+                   Firstly, in order for a bin to be full, both of the 
thresholds specified by the &lt;Minimum Bin Size&gt; and the &lt;Minimum Number 
of Records&gt; properties
+                   must be satisfied. If one of these properties is not set, 
then it is ignored. Secondly, if either the &lt;Maximum Bin Size&gt; or the 
&lt;Maximum Number of
+                   Records&gt; property is reached, then the bin is merged. 
That is, both of the minimum values must be reached but only one of the maximum 
values need be reached.
+                   Note that the &lt;Maximum Number of Records&gt; property is 
a "soft limit," meaning that all records in a given input FlowFile will be 
added to the same bin, and
+                   as a result the number of records may exceed the maximum 
configured number of records. Once this happens, though, no more Records will 
be added to that same bin
+                   from another FlowFile.
+                   If the &lt;Max Bin Age&gt; is reached for a bin, then the 
FlowFiles in that bin will be merged, <b>even if</b> the minimum bin size and 
minimum number of records
+                   have not yet been met. Finally, if the maximum number of 
bins have been created (as specified by the &lt;Maximum number of Bins&gt; 
property), and some input FlowFiles
+                   cannot fit into any of the existing bins, then the oldest 
bin will be merged to make room. This is done because otherwise we would not be 
able to add any
+                   additional FlowFiles to the existing bins and would have to 
wait until the Max Bin Age is reached (if ever) in order to merge any FlowFiles.
+               </p>
+
+        <p>
+            If the &lt;Merge Strategy&gt; property is set to "Defragment" then 
a bin is full only when the number of FlowFiles in the bin is equal to the 
number specified
+            by the "fragment.count" attribute of one of the FlowFiles in the 
bin. All FlowFiles that have this attribute must have the same value for this 
attribute,
+            or else they will be routed to the "failure" relationship. It is 
not necessary that all FlowFiles have this value, but at least one FlowFile in 
the bin must have
+            this value or the bin will never be complete. If all of the 
necessary FlowFiles are not binned together by the point at which the bin times 
amount
+            (as specified by the &lt;Max Bin Age&gt; property), then the 
FlowFiles will all be routed to the 'failure' relationship instead of being 
merged together.
+        </p>
+
+        <p>
+            Once a bin is merged into a single FlowFile, it can sometimes be 
useful to understand why exactly the bin was merged when it was. For example, 
if the maximum number
+            of allowable bins is reached, a merged FlowFile may consist of far 
fewer records than expected. In order to help understand the behavior, the 
Processor will emit
+            a JOIN Provenance Events when creating the merged FlowFile, and 
the JOIN event will include in it a "Details" field that explains why the bin 
was merged when it was.
+            For example, the event will indicate "Records Merged due to: Bin 
is full" if the bin reached its minimum thresholds and no more subsequent 
FlowFiles were able to be
+            added to it. Or it may indicate "Records Merged due to: Maximum 
number of bins has been exceeded" if the bin was merged due to the configured 
maximum number of bins
+            being filled and needing to free up space for a new bin.
+        </p>
+
+
+       <h3>When a Failure Occurs</h3>
+       <p>
+           When a bin is filled, the Processor is responsible for merging 
together all of the records in those FlowFiles into a single FlowFile. If the 
Processor fails
+           to do so for any reason (for example, a Record cannot be read from 
an input FlowFile), then all of the FlowFiles in that bin are routed to the 
'failure'
+           Relationship. The Processor does not skip the single problematic 
FlowFile and merge the others. This behavior was chosen because of two 
different considerations.
+           Firstly, without those problematic records, the bin may not truly 
be full, as the minimum bin size may not be reached without those records.
+           Secondly, and more importantly, if the problematic FlowFile 
contains 100 "good" records before the problematic ones, those 100 records 
would already have been
+           written to the "merged" FlowFile. We cannot un-write those records. 
If we were to then send those 100 records on and route the problematic FlowFile 
to 'failure'
+           then in a situation where the "failure" relationship is eventually 
routed back to MergeRecord, we could end up continually duplicating those 100 
successfully
+           processed records.
+       </p>
+       
+       
+       
+       <h2>Examples</h2>
+       
+       <p>
+               To better understand how this Processor works, we will lay out 
a few examples. For the sake of simplicity of these examples, we will use 
CSV-formatted data and
+               write the merged data as CSV-formatted data, but
+               the format of the data is not really relevant, as long as there 
is a Record Reader that is capable of reading the data and a Record Writer 
capable of writing
+               the data in the desired format.
+       </p>
+
+
+
+       <h3>Example 1 - Batching Together Many Small FlowFiles</h3>
+       
+       <p>
+               When we want to batch together many small FlowFiles in order to 
create one larger FlowFile, we will accomplish this by using the "Bin Packing 
Algorithm"
+               Merge Strategy. The idea here is to bundle together as many 
FlowFiles as we can within our minimum and maximum number of records and bin 
size.
+               Consider that we have the following properties set:
+       </p>
+
+<table>
+  <tr>
+    <th>Property Name</th>
+    <th>Property Value</th>
+  </tr>
+  <tr>
+    <td>Merge Strategy</td>
+    <td>Bin Packing Algorithm</td>
+  </tr>
+  <tr>
+    <td>Minimum Number of Records</td>
+    <td>3</td>
+  </tr>
+  <tr>
+    <td>Maximum Number of Records</td>
+    <td>5</td>
+  </tr>
+</table>
+
+        <p>
+            Also consider that we have the following data on the queue, with 
the schema indicating a Name and an Age field:
+        </p>
+
+<table>
+  <tr>
+    <th>FlowFile ID</th>
+    <th>FlowFile Contents</th>
+  </tr>
+  <tr>
+    <td>1</td>
+    <td>Mark, 33</td>
+  </tr>
+  <tr>
+    <td>2</td>
+    <td>John, 45<br />Jane, 43</td>
+  </tr>
+  <tr>
+    <td>3</td>
+    <td>Jake, 3</td>
+  </tr>
+  <tr>
+    <td>4</td>
+    <td>Jan, 2</td>
+  </tr>
+</table>
+
+               <p>
+                       In this, because we have not configured a Correlation 
Attribute, and because all FlowFiles have the same schema, the Processor
+                       will attempt to add all of these FlowFiles to the same 
bin. Because the Minimum Number of Records is 3 and the Maximum Number of 
Records is 5,
+                       all of the FlowFiles will be added to the same bin. The 
output, then, is a single FlowFile with the following content:
+               </p>
+
+<code>
+<pre>
+Mark, 33
+John, 45
+Jane, 43
+Jake, 3
+Jan, 2
+</pre>
+</code>
+
+               <p>
+                  When the Processor runs, it will bin all of the FlowFiles 
that it can get from the queue. After that, it will merge any bin that is "full 
enough."
+                  So if we had only 3 FlowFiles on the queue, those 3 would 
have been added, and a new bin would have been created in the next iteration, 
once the
+                  4th FlowFile showed up. However, if we had 8 FlowFiles 
queued up, only 5 would have been added to the first bin. The other 3 would 
have been added
+                  to a second bin, and that bin would then be merged since it 
reached the minimum threshold of 3 also.
+               </p>
+
+       </body>
+</html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/index.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/index.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.MergeRecord/index.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>MergeRecord</title><link rel="stylesheet" 
href="../../../../../css/component-usage.css" 
type="text/css"></link></head><script type="text/javascript">window.onload = 
function(){if(self==top) { document.getElementById('nameHeader').style.display 
= "inherit"; } }</script><body><h1 id="nameHeader" style="display: 
none;">MergeRecord</h1><h2>Description: </h2><p>This Processor merges together 
multiple record-oriented FlowFiles into a single FlowFile that contains all of 
the Records of the input FlowFiles. This Processor works by creating 'bins' and 
then adding FlowFiles to these bins until they are full. Once a bin is full, 
all of the FlowFiles will be combined into a single output FlowFile, and that 
FlowFile will be routed to the 'merged' Relationship. A bin will consist of 
potentially many 'like FlowFiles'. In order for two FlowFiles to be considered 
'like FlowFiles', they must have the same Schema (as identified b
 y the Record Reader) and, if the &lt;Correlation Attribute Name&gt; property 
is set, the same value for the specified attribute. See Processor Usage and 
Additional Details for more information.</p><p><a 
href="additionalDetails.html">Additional Details...</a></p><h3>Tags: 
</h3><p>merge, record, content, correlation, stream, event</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>Record Reader</strong></td><td id="default-value"></td><td 
id="allowable-values"><strong>Controller Service API: 
</strong><br/>RecordReaderFactory<br/><strong>Implementations: </str
 ong><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.syslog.Syslog5424Reader/index.html">Syslog5424Reader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.grok.GrokReader/index.html">GrokReader</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.record.script.ScriptedReader/index.html">ScriptedReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonTreeReader/index.html">JsonTreeReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.syslog.SyslogReader/index.html">SyslogReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.avro.AvroReader/index.html">AvroReader</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.xml.XMLReader/index.html">XMLReader</a><br/><a
 href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.js
 on.JsonPathReader/index.html">JsonPathReader</a><br/><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.csv.CSVReader/index.html">CSVReader</a><br/><a
 
href="../../../nifi-parquet-nar/1.11.4/org.apache.nifi.parquet.ParquetReader/index.html">ParquetReader</a></td><td
 id="description">Specifies the Controller Service to use for reading incoming 
data</td></tr><tr><td id="name"><strong>Record Writer</strong></td><td 
id="default-value"></td><td id="allowable-values"><strong>Controller Service 
API: </strong><br/>RecordSetWriterFactory<br/><strong>Implementations: 
</strong><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.xml.XMLRecordSetWriter/index.html">XMLRecordSetWriter</a><br/><a
 
href="../../../nifi-parquet-nar/1.11.4/org.apache.nifi.parquet.ParquetRecordSetWriter/index.html">ParquetRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.csv.CSVRecordSetWriter/index.html">CSVReco
 rdSetWriter</a><br/><a 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.text.FreeFormTextRecordSetWriter/index.html">FreeFormTextRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.json.JsonRecordSetWriter/index.html">JsonRecordSetWriter</a><br/><a
 
href="../../../nifi-scripting-nar/1.11.4/org.apache.nifi.record.script.ScriptedRecordSetWriter/index.html">ScriptedRecordSetWriter</a><br/><a
 
href="../../../nifi-record-serialization-services-nar/1.11.4/org.apache.nifi.avro.AvroRecordSetWriter/index.html">AvroRecordSetWriter</a></td><td
 id="description">Specifies the Controller Service to use for writing out the 
records</td></tr><tr><td id="name"><strong>Merge Strategy</strong></td><td 
id="default-value">Bin-Packing Algorithm</td><td 
id="allowable-values"><ul><li>Bin-Packing Algorithm <img 
src="../../../../../html/images/iconInfo.png" alt="Generates 'bins' of 
FlowFiles and fills each bin as full as possible. F
 lowFiles are placed into a bin based on their size and optionally their 
attributes (if the &lt;Correlation Attribute&gt; property is set)" 
title="Generates 'bins' of FlowFiles and fills each bin as full as possible. 
FlowFiles are placed into a bin based on their size and optionally their 
attributes (if the &lt;Correlation Attribute&gt; property is 
set)"></img></li><li>Defragment <img 
src="../../../../../html/images/iconInfo.png" alt="Combines fragments that are 
associated by attributes back into a single cohesive FlowFile. If using this 
strategy, all FlowFiles must have the attributes &lt;fragment.identifier&gt; 
and &lt;fragment.count&gt;. All FlowFiles with the same value for 
&quot;fragment.identifier&quot; will be grouped together. All FlowFiles in this 
group must have the same value for the &quot;fragment.count&quot; attribute. 
The ordering of the Records that are output is not guaranteed." title="Combines 
fragments that are associated by attributes back into a single cohesive Fl
 owFile. If using this strategy, all FlowFiles must have the attributes 
&lt;fragment.identifier&gt; and &lt;fragment.count&gt;. All FlowFiles with the 
same value for &quot;fragment.identifier&quot; will be grouped together. All 
FlowFiles in this group must have the same value for the 
&quot;fragment.count&quot; attribute. The ordering of the Records that are 
output is not guaranteed."></img></li></ul></td><td id="description">Specifies 
the algorithm used to merge records. The 'Defragment' algorithm combines 
fragments that are associated by attributes back into a single cohesive 
FlowFile. The 'Bin-Packing Algorithm' generates a FlowFile populated by 
arbitrarily chosen FlowFiles</td></tr><tr><td id="name">Correlation Attribute 
Name</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">If specified, two FlowFiles will be binned together only if 
they have the same value for this Attribute. If not specified, FlowFiles are 
bundled by the order in which they are
  pulled from the queue.</td></tr><tr><td id="name"><strong>Attribute 
Strategy</strong></td><td id="default-value">Keep Only Common 
Attributes</td><td id="allowable-values"><ul><li>Keep Only Common Attributes 
<img src="../../../../../html/images/iconInfo.png" alt="Any attribute that is 
not the same on all FlowFiles in a bin will be dropped. Those that are the same 
across all FlowFiles will be retained." title="Any attribute that is not the 
same on all FlowFiles in a bin will be dropped. Those that are the same across 
all FlowFiles will be retained."></img></li><li>Keep All Unique Attributes <img 
src="../../../../../html/images/iconInfo.png" alt="Any attribute that has the 
same value for all FlowFiles in a bin, or has no value for a FlowFile, will be 
kept. For example, if a bin consists of 3 FlowFiles and 2 of them have a value 
of 'hello' for the 'greeting' attribute and the third FlowFile has no 
'greeting' attribute then the outbound FlowFile will get a 'greeting' attribute 
with the 
 value 'hello'." title="Any attribute that has the same value for all FlowFiles 
in a bin, or has no value for a FlowFile, will be kept. For example, if a bin 
consists of 3 FlowFiles and 2 of them have a value of 'hello' for the 
'greeting' attribute and the third FlowFile has no 'greeting' attribute then 
the outbound FlowFile will get a 'greeting' attribute with the value 
'hello'."></img></li></ul></td><td id="description">Determines which FlowFile 
attributes should be added to the bundle. If 'Keep All Unique Attributes' is 
selected, any attribute on any FlowFile that gets bundled will be kept unless 
its value conflicts with the value from another FlowFile. If 'Keep Only Common 
Attributes' is selected, only the attributes that exist on all FlowFiles in the 
bundle, with the same value, will be preserved.</td></tr><tr><td 
id="name"><strong>Minimum Number of Records</strong></td><td 
id="default-value">1</td><td id="allowable-values"></td><td 
id="description">The minimum number of records
  to include in a bin<br/><strong>Supports Expression Language: true (will be 
evaluated using variable registry only)</strong></td></tr><tr><td 
id="name">Maximum Number of Records</td><td id="default-value">1000</td><td 
id="allowable-values"></td><td id="description">The maximum number of Records 
to include in a bin. This is a 'soft limit' in that if a FlowFIle is added to a 
bin, all records in that FlowFile will be added, so this limit may be exceeded 
by up to the number of records in the last input FlowFile.<br/><strong>Supports 
Expression Language: true (will be evaluated using variable registry 
only)</strong></td></tr><tr><td id="name"><strong>Minimum Bin 
Size</strong></td><td id="default-value">0 B</td><td 
id="allowable-values"></td><td id="description">The minimum size of for the 
bin</td></tr><tr><td id="name">Maximum Bin Size</td><td 
id="default-value"></td><td id="allowable-values"></td><td id="description">The 
maximum size for the bundle. If not specified, there is no maximu
 m. This is a 'soft limit' in that if a FlowFile is added to a bin, all records 
in that FlowFile will be added, so this limit may be exceeded by up to the 
number of bytes in last input FlowFile.</td></tr><tr><td id="name">Max Bin 
Age</td><td id="default-value"></td><td id="allowable-values"></td><td 
id="description">The maximum age of a Bin that will trigger a Bin to be 
complete. Expected format is &lt;duration&gt; &lt;time unit&gt; where 
&lt;duration&gt; is a positive integer and time unit is one of seconds, 
minutes, hours</td></tr><tr><td id="name"><strong>Maximum Number of 
Bins</strong></td><td id="default-value">10</td><td 
id="allowable-values"></td><td id="description">Specifies the maximum number of 
bins that can be held in memory at any one time. This number should not be 
smaller than the maximum number of conurrent threads for this Processor, or the 
bins that are created will often consist only of a single incoming 
FlowFile.</td></tr></table><h3>Relationships: </h3><table id=
 
"relationships"><tr><th>Name</th><th>Description</th></tr><tr><td>failure</td><td>If
 the bundle cannot be created, all FlowFiles that would have been used to 
created the bundle will be transferred to 
failure</td></tr><tr><td>original</td><td>The FlowFiles that were used to 
create the bundle</td></tr><tr><td>merged</td><td>The FlowFile containing the 
merged records</td></tr></table><h3>Reads Attributes: </h3><table 
id="reads-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>fragment.identifier</td><td>Applicable
 only if the &lt;Merge Strategy&gt; property is set to Defragment. All 
FlowFiles with the same value for this attribute will be bundled 
together.</td></tr><tr><td>fragment.count</td><td>Applicable only if the 
&lt;Merge Strategy&gt; property is set to Defragment. This attribute must be 
present on all FlowFiles with the same value for the fragment.identifier 
attribute. All FlowFiles in the same bundle must have the same value for this 
attribute. The value of this att
 ribute indicates how many FlowFiles should be expected in the given 
bundle.</td></tr></table><h3>Writes Attributes: </h3><table 
id="writes-attributes"><tr><th>Name</th><th>Description</th></tr><tr><td>record.count</td><td>The
 merged FlowFile will have a 'record.count' attribute indicating the number of 
records that were written to the 
FlowFile.</td></tr><tr><td>mime.type</td><td>The MIME Type indicated by the 
Record Writer</td></tr><tr><td>merge.count</td><td>The number of FlowFiles that 
were merged into this bundle</td></tr><tr><td>merge.bin.age</td><td>The age of 
the bin, in milliseconds, when it was merged and output. Effectively this is 
the greatest amount of time that any FlowFile in this bundle remained waiting 
in this processor before it was output</td></tr><tr><td>merge.uuid</td><td>UUID 
of the merged FlowFile that will be added to the original FlowFiles 
attributes</td></tr><tr><td>&lt;Attributes from Record Writer&gt;</td><td>Any 
Attribute that the configured Record Writer 
 returns will be added to the FlowFile.</td></tr></table><h3>State management: 
</h3>This component does not store state.<h3>Restricted: </h3>This component is 
not restricted.<h3>Input requirement: </h3>This component requires an incoming 
relationship.<h3>System Resource Considerations:</h3>None specified.<h3>See 
Also:</h3><p><a 
href="../org.apache.nifi.processors.standard.MergeContent/index.html">MergeContent</a>,
 <a 
href="../org.apache.nifi.processors.standard.SplitRecord/index.html">SplitRecord</a>,
 <a 
href="../org.apache.nifi.processors.standard.PartitionRecord/index.html">PartitionRecord</a></p></body></html>
\ No newline at end of file

Added: 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.ModifyBytes/index.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.ModifyBytes/index.html?rev=1875518&view=auto
==============================================================================
--- 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.ModifyBytes/index.html
 (added)
+++ 
nifi/site/trunk/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache.nifi.processors.standard.ModifyBytes/index.html
 Sun Mar 22 13:18:15 2020
@@ -0,0 +1 @@
+<!DOCTYPE html><html lang="en"><head><meta 
charset="utf-8"></meta><title>ModifyBytes</title><link rel="stylesheet" 
href="../../../../../css/component-usage.css" 
type="text/css"></link></head><script type="text/javascript">window.onload = 
function(){if(self==top) { document.getElementById('nameHeader').style.display 
= "inherit"; } }</script><body><h1 id="nameHeader" style="display: 
none;">ModifyBytes</h1><h2>Description: </h2><p>Discard byte range at the start 
and end or all content of a binary file.</p><h3>Tags: </h3><p>binary, discard, 
keep</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>Start Offset</strong></td><td 
id="default-value">0 B</td><td id="allowable-values"></td><td 
id="description">Number of bytes removed at the beginning of the 
file.<br/><strong>Supports Expression Language: true (will be evaluated using 
flow file attributes and variable registry)</strong></td></tr><tr><td 
id="name"><strong>End Offset</strong></td><td id="default-value">0 B</td><td 
id="allowable-values"></td><td id="description">Number of bytes removed at the 
end of the file.<br/><strong>Supports Expression Language: true (will be 
evaluated using flow file attributes and variable 
registry)</strong></td></tr><tr><td id="name"><strong>Remove All 
Content</strong></td><td id="default-value">false</td><td 
id="allowable-values"><ul><li>true</li><li>false</li></ul></td><td 
id="description">Remove all content from the FlowFile superseding Start Offset 
and End Offset properties.</td></tr></table><h3>Relationships: </h3><table 
id="relationships"><tr><th>Name</
 th><th>Description</th></tr><tr><td>success</td><td>Processed 
flowfiles.</td></tr></table><h3>Reads Attributes: </h3>None 
specified.<h3>Writes Attributes: </h3>None specified.<h3>State management: 
</h3>This component does not store state.<h3>Restricted: </h3>This component is 
not restricted.<h3>Input requirement: </h3>This component requires an incoming 
relationship.<h3>System Resource Considerations:</h3>None 
specified.</body></html>
\ No newline at end of file


Reply via email to