Description:

Controls the rate at which data is transferred to follow-on processors.

Tags: rate control, throttle, rate, throughput

Properties:

In the list below, the names of required properties appear in bold. Anyother properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language (or simply EL), and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.

NameDescriptionDefault ValueValid ValuesELSensitive
Rate Control CriteriaIndicates the criteria that is used to control the throughput rate. Changing this value resets the rate counters.data rate
  • data rate
  • flowfile count
  • attribute value
NoNo
Maximum RateThe maximum rate at which data should pass through this processor. The format of this property is expected to be a positive integer, or a Data Size (such as '1 MB') if Rate Control Criteria is set to 'data rate'.NoNo
Rate Controlled AttributeThe name of an attribute whose values build toward the rate limit if Rate Control Criteria is set to 'attribute value'. The value of the attribute referenced by this property must be a positive integer, or the FlowFile will be routed to failure. This value is ignored if Rate Control Criteria is not set to 'attribute value'. Changing this value resets the rate counters.NoNo
Time DurationThe amount of time to which the Maximum Data Size and Maximum Number of Files pertains. Changing this value resets the rate counters.1 minNoNo
Grouping AttributeBy default, a single "throttle" is used for all FlowFiles. If this value is specified, a separate throttle is used for each value specified by the attribute with this name. Changing this value resets the rate counters.NoNo

Relationships:

NameDescription
successAll FlowFiles are transferred to this relationship