nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MINIFI-183) Create ListenHTTP processor
Date Mon, 13 Feb 2017 17:27:42 GMT

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

ASF GitHub Bot commented on MINIFI-183:
---------------------------------------

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

    https://github.com/apache/nifi-minifi-cpp/pull/43#discussion_r100845047
  
    --- Diff: libminifi/src/Processor.cpp ---
    @@ -439,31 +447,25 @@ bool Processor::flowFilesOutGoingFull()
     	return false;
     }
     
    -void Processor::onTrigger()
    +void Processor::onTrigger(ProcessContext *context, ProcessSessionFactory *sessionFactory)
     {
    -	ProcessContext *context = new ProcessContext(this);
    -	ProcessSession *session = new ProcessSession(context);
    +	auto session = sessionFactory->createSession();
    --- End diff --
    
    Thanks. I can remove this off of my my todo. fantastic!


> Create ListenHTTP processor
> ---------------------------
>
>                 Key: MINIFI-183
>                 URL: https://issues.apache.org/jira/browse/MINIFI-183
>             Project: Apache NiFi MiNiFi
>          Issue Type: Task
>          Components: C++
>            Reporter: Andrew Christianson
>            Assignee: Andrew Christianson
>
> Create a ListenHTTP processor of similar design/function to the ListenHTTP in the parent
Apache NiFi project.
> Being a part of MiNiFi, the server should be very lightweight, handle requests asynchronously,
have optional threading, and should support streaming of request/response content to minimize
memory requirements.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message