GenerateFlowFile 2.3.0¶
BUNDLE¶
org.apache.nifi | nifi-standard-nar
DESCRIPTION¶
This processor creates FlowFiles with random data or custom content. GenerateFlowFile is useful for load testing, configuration, and simulation. Also see DuplicateFlowFile for additional load testing.
INPUT REQUIREMENT¶
FORBIDDEN
Supports Sensitive Dynamic Properties¶
false
PROPERTIES¶
Property |
Description |
---|---|
Batch Size |
The number of FlowFiles to be transferred in each invocation |
Data Format |
Specifies whether the data should be Text or Binary |
File Size |
The size of the file that will be used |
Unique FlowFiles |
If true, each FlowFile that is generated will be unique. If false, a random value will be generated and all FlowFiles will get the same content but this offers much higher throughput |
character-set |
Specifies the character set to use when writing the bytes of Custom Text to a flow file. |
generate-ff-custom-text |
If Data Format is text and if Unique FlowFiles is false, then this custom text will be used as content of the generated FlowFiles and the File Size will be ignored. Finally, if Expression Language is used, evaluation will be performed only once per batch of generated FlowFiles |
mime-type |
Specifies the value to set for the “mime.type” attribute. |
RELATIONSHIPS¶
NAME |
DESCRIPTION |
---|---|
success |
WRITES ATTRIBUTES¶
NAME |
DESCRIPTION |
---|---|
mime.type |
Sets the MIME type of the output if the ‘Mime Type’ property is set |