You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/12 08:56:18 UTC
[jira] [Commented] (NIFI-1003) Ability to auto-terminate
relationship connections for a processor
[ https://issues.apache.org/jira/browse/NIFI-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144236#comment-15144236 ]
ASF GitHub Bot commented on NIFI-1003:
--------------------------------------
GitHub user linoferrentino opened a pull request:
https://github.com/apache/nifi/pull/217
A relationship can be auto-terminable. In this case the processor wil…
> I have worked on NiFi to solve the issue
>
> https://issues.apache.org/jira/browse/NIFI-1003
>
> and I enclose here a patch which I have tested
> with the current 0.5 snapshot tree.
>
> It adds a flag to the relationship. This flag tells the
> processor to terminate it automatically, so in this
> case we can add new relationships to a processor
> and make the processor still runnable (otherwise the
> framework will report a validation error).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/linoferrentino/nifi master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/217.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #217
----
commit 8ee55e2b73c89d6663c29e0ac53f21fc63d99ce7
Author: Pasqualino Ferrentino <se...@gmail.com>
Date: 2016-02-11T07:10:24Z
A relationship can be auto-terminable. In this case the processor will auto-terminate the relationship and allow the user to run it even he does not connect those relationshipt and he does not terminate them
----
> 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)