Distributes FlowFiles to downstream processors based on a Distribution Strategy. If using the Round Robin strategy, the default is to assign each destination a weighting of 1 (evenly distributed). However, optional properties can be added to the change this; adding a property with the name '5' and value '10' means that the relationship with name '5' will be receive 10 FlowFiles in each iteration instead of 1.
distribute, load balance, route, round robin, weighted
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.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Number of Relationships | Number of Relationships | 1 | Determines the number of Relationships to which the load should be distributed | |
Distribution Strategy | Distribution Strategy | round robin |
| Determines how the load will be distributed. Relationship weight is in numeric order where '1' has the greatest weight. |
Supports Sensitive Dynamic Properties: No
Dynamic Properties allow the user to specify both the name and value of a property.
Name | Value | Description |
---|---|---|
The relationship name (positive number) | The relationship Weight (positive number) | Adding a property with the name '5' and value '10' means that the relationship with name '5' will receive 10 FlowFiles in each iteration instead of 1. Supports Expression Language: false |
Name | Description |
---|---|
1 | Where to route flowfiles for this relationship index |
A Dynamic Relationship may be created based on how the user configures the Processor.
Name | Description |
---|---|
A number 1..<Number Of Relationships> | FlowFiles are sent to this relationship per the <Distribution Strategy> |
Name | Description |
---|---|
distribute.load.relationship | The name of the specific relationship the FlowFile has been routed through |