Rick Braddy created NIFI-1003:
---------------------------------

             Summary: Ability to auto-terminate relationship connections for a 
processor
                 Key: NIFI-1003
                 URL: https://issues.apache.org/jira/browse/NIFI-1003
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Core Framework
    Affects Versions: 0.3.0
         Environment: New processor with many dynamically-generated 
relationships
            Reporter: Rick Braddy
            Priority: Minor


Need a way to auto-terminate relationships without user intervention; that is, 
change the default behavior of a processor to automatically self-terminate 
connections for relationships when they are created.  

Ideally, this would be possible to set at processor init() time, so all 
relationships on the processor will be auto-terminated by default. Since this 
primarily applies to relationships added dynamically, it could also be called 
via the ProcessContext object during onTrigger().

context.autoTerminateConnections( boolean selfAutoTerminate);

where calling autoTerminateConnections( true ) would cause future relationships 
to be auto-terminated by default (instead of the default, which is to require 
manually setting auto-termination).




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

Reply via email to