PackageFlowFile

Description:

This processor will package FlowFile attributes and content into an output FlowFile that can be exported from NiFi and imported back into NiFi, preserving the original attributes and content.

Tags:

flowfile, flowfile-stream, flowfile-stream-v3, package, attributes

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Maximum Batch Sizemax-batch-size1Maximum number of FlowFiles to package into one output FlowFile using a best effort, non guaranteed approach. Multiple input queues can produce unexpected batching behavior.

Relationships:

NameDescription
successThe packaged FlowFile is sent to this relationship
originalThe FlowFiles that were used to create the package are sent to this relationship

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
mime.typeThe mime.type will be changed to application/flowfile-v3

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.

See Also:

UnpackContent, MergeContent