[ 
https://issues.apache.org/jira/browse/NIFI-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315459#comment-16315459
 ] 

ASF GitHub Bot commented on NIFI-4745:
--------------------------------------

Github user mmucha-redhat commented on the issue:

    https://github.com/apache/nifi/pull/2384
  
    Hi!
    
    This is my first contribution. Please help me to finish this; I don't like 
the śtate of code in this file, and would like to agree on doing some 
refactorings, namely completelyFlowFile having too many arguments. Ideally I 
wouldn't like to pass attributeNameToStoreFailureDescription into this method, 
but I did not find a way how to add attribute, when writer is not closed yet. 
Please comment heavily if needed, I'm here ready to fix all issues!
    Thanks!



> Emit validation failure description in attribute from ValidateRecord processor
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-4745
>                 URL: https://issues.apache.org/jira/browse/NIFI-4745
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.5.0
>            Reporter: Martin Mucha
>            Priority: Minor
>
> We need to pass description of validation failure further in
> processing chain, and eventually pass it back to calling system.
> Therefore having failure description logged in logs and issued as provenance
> route event is not sufficient for us. 
> It should be easy to emit same data, which are being sent in provenance route 
> event, from ValidateRecord as new attribute.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to