You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2024/08/15 14:57:00 UTC
[jira] [Updated] (MINIFICPP-2439) Restrict failure and original relationship usage in NiFi python processors
[ https://issues.apache.org/jira/browse/MINIFICPP-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gábor Gyimesi updated MINIFICPP-2439:
-------------------------------------
Status: Patch Available (was: Open)
> Restrict failure and original relationship usage in NiFi python processors
> --------------------------------------------------------------------------
>
> Key: MINIFICPP-2439
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2439
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Gábor Gyimesi
> Assignee: Gábor Gyimesi
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In NiFi python processors the failure and original relationships are special and used in special ways.
> In case the result is "failure" the original flow file is transferred to the "failure" relationship with the added attributes in the FlowFileTransformResult, it cannot have any new content.
> The incoming flow file is forwarded to the "original" relationship automatically if the result is not "failure". This relationship cannot be used by the user as per the NiFi python developer documentation.
> These restrictions should be enforced in the NiFi Python API in MiNiFi C++ by raising an exception if any of the custom processors violate these restrictions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)