[
https://issues.apache.org/jira/browse/MINIFI-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037834#comment-16037834
]
ASF GitHub Bot commented on MINIFI-262:
---------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/107#discussion_r120234097
--- Diff: libminifi/src/FlowController.cpp ---
@@ -163,6 +174,31 @@ FlowController::~FlowController() {
provenance_repo_ = nullptr;
}
+bool FlowController::applyConfiguration(std::string &configurePayload) {
--- End diff --
Right now we're beginning to tightly couple "listening" to flow controller.
We can improve that by moving to have a package that isolates much of the C2
specifics. With a call back, you might be able to give call flowconfiguration,
which is part of flow controller and it doesn't need to know the state.
> Configuration Listener in C++ client to support C2 operations
> -------------------------------------------------------------
>
> Key: MINIFI-262
> URL: https://issues.apache.org/jira/browse/MINIFI-262
> Project: Apache NiFi MiNiFi
> Issue Type: New Feature
> Components: C++, Command and Control
> Reporter: marco polo
> Assignee: bqiu
>
> Create the concept of configuration listener support a variety of
> implementations that will restart operations for the MiNiFi C++ agent.
> The listener will implement a listener that will restart the MiNiFi process.
> MiNiFi-263 will include the work to implement the configuration listener
> interface.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)