Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/417#discussion_r225500772
--- Diff: libminifi/src/capi/api.cpp ---
@@ -361,6 +396,18 @@ processor *add_processor(flow *flow, const char
*processor_name) {
}
return nullptr;
}
+
+processor *add_processor_with_linkage(flow *flow, const char
*processor_name) {
+ ExecutionPlan *plan = static_cast<ExecutionPlan*>(flow->plan);
+ auto proc = plan->addProcessor(processor_name, processor_name,
core::Relationship("success", "description"), true);
--- End diff --
That may mean removing the _with_linkage but that might make the API tidier
---