[
https://issues.apache.org/jira/browse/NIFI-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189852#comment-15189852
]
Aldrin Piri commented on NIFI-1003:
-----------------------------------
Everything checks out. Applied patch and verified its functionality within an
instance inclusive of starting up against a pre-existing flow. Nice win for
handling those relationships that are made available but seldom routed. +1 and
will merge.
> 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)