Github user arpadboda commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/421#discussion_r227361035
  
    --- Diff: libminifi/include/capi/api.h ---
    @@ -79,6 +79,13 @@ processor *add_processor_with_linkage(flow *flow, const 
char *processor_name);
     
     processor *add_python_processor(flow *, void 
(*ontrigger_callback)(processor_session *session));
     
    +/**
    +* Register your callback to received flow files that the flow failed to 
process
    +* The flow file is deleted after the callback is executed, make sure to 
copy all the data you need!
    +* The first callback should be registered before the flow is used. Can be 
changed later during runtime.
    +*/
    --- End diff --
    
    Not sure I understand the Q properly. 
    The current implementation only requires to add the callback before 
finalising the flow (as there is no way to add the callback processor later). 
Later the callback can be replaced.


---

Reply via email to