UpdateCounter

Description:

This processor allows users to set specific counters and key points in their flow. It is useful for debugging and basic counting functions.

Tags:

counter, debug, instrumentation

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

NameDefault ValueAllowable ValuesDescription
Counter NameThe name of the counter you want to set the value off - supports expression language like ${counterName}
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Delta1Adjusts the counter by the specified delta for each flow file received. May be a positive or negative integer.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successCounter was updated/retrieved

Reads Attributes:

NameDescription
counterNameThe name of the counter to update/get.

Writes Attributes:

None specified.

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.