SplitContent 2025.10.9.21

Bundle

org.apache.nifi | nifi-standard-nar

Description

Splits incoming FlowFiles by a specified byte sequence

Tags

binary, content, split

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Byte SequenceA representation of bytes to look for and upon which to split the source file into separate files
Byte Sequence FormatSpecifies how the <Byte Sequence> property should be interpreted
Byte Sequence LocationIf <Keep Byte Sequence> is set to true, specifies whether the byte sequence should be added to the end of the first split or the beginning of the second; if <Keep Byte Sequence> is false, this property is ignored.
Keep Byte SequenceDetermines whether or not the Byte Sequence should be included with each Split

Relationships

NameDescription
originalThe original file
splitsAll Splits will be routed to the splits relationship

Writes attributes

NameDescription
fragment.identifierAll split FlowFiles produced from the same parent FlowFile will have the same randomly generated UUID added for this attribute
fragment.indexA one-up number that indicates the ordering of the split FlowFiles that were created from a single parent FlowFile
fragment.countThe number of split FlowFiles generated from the parent FlowFile
segment.original.filenameThe filename of the parent FlowFile

See also