MiNiFi Java Agent Administration
Also available as:
PDF

Swap Subsection

A part of the FlowFile Repository section there is a Swap subsection.

NiFi keeps FlowFile information in memory (the JVM) but during surges of incoming data, the FlowFile information can start to take up so much of the JVM that system performance suffers. To counteract this effect, NiFi "swaps" the FlowFile information to disk temporarily until more JVM space becomes available again. The "Swap" subsection of properties govern how that process occurs.

PropertyDescription
thresholdThe queue threshold at which NiFi starts to swap FlowFile information to disk. The default value is 20000.
in periodThe swap in period. The default value is 5 sec.
in threadsThe number of threads to use for swapping in. The default value is 1.
out periodThe swap out period. The default value is 5 sec.
out threadsThe number of threads to use for swapping out. The default value is 4.