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

    https://github.com/apache/nifi-minifi-cpp/pull/421#discussion_r226717192
  
    --- 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 --
    
    what if failure is an optional condition? Why remove and not reuse? curious 
about comment above.


---

Reply via email to