GetFileResource 2025.10.9.21

Bundle

org.apache.nifi | nifi-standard-nar

Description

This processor creates FlowFiles with the content of the configured File Resource. GetFileResource is useful for load testing, configuration, and simulation.

Tags

file, generate, load, test

Input Requirement

FORBIDDEN

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
File ResourceLocation of the File Resource (Local File or URL). This file will be used as content of the generated FlowFiles.
MIME TypeSpecifies the value to set for the [mime.type] attribute.

Restrictions

Required PermissionExplanation
read filesystemProvides operator the ability to read from any file that NiFi has access to.
reference remote resourcesFile Resource can reference resources over HTTP/HTTPS

Relationships

NameDescription
success

Writes attributes

NameDescription
mime.typeSets the MIME type of the output if the ‘MIME Type’ property is set
Dynamic property keyValue for the corresponding dynamic property, if any is set