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

ASF GitHub Bot commented on MINIFICPP-682:
------------------------------------------

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

    https://github.com/apache/nifi-minifi-cpp/pull/448#discussion_r239113983
  
    --- Diff: nanofi/include/api/nanofi.h ---
    @@ -135,16 +274,62 @@ flow_file_record* create_ff_object(const char *file, 
const size_t len, const uin
     
     flow_file_record* create_ff_object_na(const char *file, const size_t len, 
const uint64_t size);
     
    -void free_flowfile(flow_file_record*);
    +/**
    + * Get incoming flow file. To be used in processor logic callbacks.
    + * @param session current processor session
    + * @param context current processor context
    + * @return a flow file record or nullptr in case there is none in the 
session
    + **/
    +flow_file_record* get_flowfile(processor_session* session, 
processor_context* context);
    --- End diff --
    
    I think we can, will give it a try


> C API: provide functions to create custom processors
> ----------------------------------------------------
>
>                 Key: MINIFICPP-682
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-682
>             Project: NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Arpad Boda
>            Assignee: Arpad Boda
>            Priority: Major
>              Labels: CAPI, nanofi
>             Fix For: 0.6.0
>
>
> Extend C API to:
> -Provide functions that can be used used to implement custom processor.
> -Custom processor should be able to read/update both the content and the 
> attributes of flowfile, route to "failure" and "success" relationships. 
> -API should support adding these custom processors to flows and invoke them 
> as standalones, too. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to