[
https://issues.apache.org/jira/browse/MINIFI-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949063#comment-15949063
]
ASF GitHub Bot commented on MINIFI-236:
---------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/71#discussion_r108925441
--- Diff: libminifi/src/core/ProcessSession.cpp ---
@@ -530,6 +530,91 @@ void
ProcessSession::read(std::shared_ptr<core::FlowFile> &&flow,
}
}
+void ProcessSession::importFrom(io::DataStream &stream,
+ std::shared_ptr<core::FlowFile> &&flow) {
+ std::shared_ptr<ResourceClaim> claim = std::make_shared<ResourceClaim>();
+
+ int max_read = getpagesize();
--- End diff --
is this portable?
> Ensure processors are all thread safe
> -------------------------------------
>
> Key: MINIFI-236
> URL: https://issues.apache.org/jira/browse/MINIFI-236
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Components: C++
> Reporter: marco polo
> Assignee: marco polo
> Priority: Critical
> Fix For: cpp-0.2.0
>
>
> Found that RemoteProcessingGroup was not thread safe. Had to move peer and
> protocol to be thread local variables to successfully allow more concurrent
> threads to run onTrigger.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)