[
https://issues.apache.org/jira/browse/NIFI-13196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855751#comment-17855751
]
Joe Witt commented on NIFI-13196:
---------------------------------
Fundamentally, it does not make sense to introduce changes to the nifi-api on
the 1.x line at this time. We have no intention to maintain such feature
bearing and performance related improvements on that line.
We have discussed the importance of moving from Java 8+ to 21 and things like
benefits of NiFi 2.x vs 1.x for quite some time. Users will do whatever they
need to do and we should support appropriate transitions/etc.. But backporting
features, improvements related to performance, etc.. as we're at this stage
with the 2.x line seems counter productive to my view.
For this specific capability - this was added to provide performance benefits
to usage patterns we're seeing more and more on the 2.x line.
I see various things being put on the 1.x line but in general I don't comment.
Ultimately if people have the time/energy to devote there that is great. But
this is a change to our most fundamental api - the nifi-api. For me that is a
bridge too far and thus my comments on this thread previously and this one now.
I'm not going to -1 but consider me a solid -0.
Thanks
> Add a new isAutoTerminated(Relationship) method to ProcessContext
> -----------------------------------------------------------------
>
> Key: NIFI-13196
> URL: https://issues.apache.org/jira/browse/NIFI-13196
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 2.0.0-M3
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently a Processor has no way of determining whether or not a Relationship
> is auto-terminated. There are cases where a Processor forks an incoming
> FlowFile and updates it (in a potentially expensive manner) and then
> transfers it to a Relationship that is auto-terminated.
> We should add the ability to determine whether or not a given relationship is
> auto-terminated so that we can be more efficient
--
This message was sent by Atlassian Jira
(v8.20.10#820010)