Michael Moser created NIFI-990:
----------------------------------

             Summary: ControlRate processor is missing failure relationship
                 Key: NIFI-990
                 URL: https://issues.apache.org/jira/browse/NIFI-990
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 0.3.0
            Reporter: Michael Moser
            Priority: Minor


The "Rate Control Attribute" property description says "The value of the 
attribute referenced by this property must be a positive long, or the FlowFile 
will be routed to failure".  The "success" relationship description says "All 
FlowFiles are transferred to this relationship".  Which is correct?

The code does try to transfer to a "failure" relationship, which is missing 
from the getRelationships() Set.  So when the condition happens, the session 
rolls back with an error that the "failure" relationship doesn't exist.

Add the "failure" relationship and fix the "success" relationship description.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to