pvillard31 commented on a change in pull request #3939: NIFI-6919: Added 
relationship attribute to DistributeLoad
URL: https://github.com/apache/nifi/pull/3939#discussion_r364675202
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/DistributeLoad.java
 ##########
 @@ -71,6 +73,9 @@
         + "'5' will be receive 10 FlowFiles in each iteration instead of 1.")
 @DynamicRelationship(name = "A number 1..<Number Of Relationships>", 
description = "FlowFiles are sent to this relationship per the "
         + "<Distribution Strategy>")
+@WritesAttributes(
+        @WritesAttribute(attribute = "distribute.load.relationship", 
description = "If enabled, the name of the specific relationship a flow file 
was routed through will be written to the FlowFile")
 
 Review comment:
   ```suggestion
           @WritesAttribute(attribute = "distribute.load.relationship", 
description = "The name of the specific relationship the flow file has been 
routed through")
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to