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 required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Counter Name * | counter-name | The name of the counter you want to set the value of - supports expression language like ${counterName} Supports Expression Language, using FlowFile attributes and Environment variables. | ||
Delta * | delta | 1 | Adjusts the counter by the specified delta for each flow file received. May be a positive or negative integer. Supports Expression Language, using FlowFile attributes and Environment variables. |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
success | Counter was updated/retrieved |
Reads Attributes
Name | Description |
---|---|
counterName | The name of the counter to update/get. |
Writes Attributes
This processor does not write attributes.
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
This component does not specify system resource considerations.