UpdatePersistentCounter
A processor that counts the number of FlowFiles that pass through a point in the dataflow.
This processor is similar to the "UpdateCounter" processor that is supplied with Apache NiFi, except that it stores the counter value on disk. This means that the processor can continue counting even if the NiFi instance is restarted.
NOTE: When you remove an UpdatePersistentCounter processor from the dataflow, the stored count is discarded.
TIP: To see the value of the counter, right-click the processor and click View State. To see the value of all your counters, click
followed by Counter.
Properties
| Name | Description |
|---|---|
| Counter Name | A name that identifies the counter. |
| Delta | Specifies how to change the counter, for each FlowFile processed. The default value increments the counter by 1 but you could, for example, decrement the counter. |
Relationships
| Name | Description |
|---|---|
| success | All FlowFiles are output to the success relationship. |