You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "marco polo (JIRA)" <ji...@apache.org> on 2017/04/05 13:38:41 UTC
[jira] [Created] (MINIFI-258) Avoid using singleton for Configure.
marco polo created MINIFI-258:
---------------------------------
Summary: Avoid using singleton for Configure.
Key: MINIFI-258
URL: https://issues.apache.org/jira/browse/MINIFI-258
Project: Apache NiFi MiNiFi
Issue Type: Bug
Components: C++
Reporter: marco polo
Avoiding a singleton for Configure will allow us to eventually support multiple, disparate flows. The object FlowConfiguration can be passed with the information in Configure. This has increased coupling dramatically while also limiting how configurations can be stored within minifi.
It stands to reason that to eventually support C2 activities and to facilitate multiple configurations, we will need to remove state from the global level and make it something that is referenced from the objects which care ( proper encapsulation ).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)