Ferenc Gerlits created MINIFICPP-1671:
-----------------------------------------

             Summary: Extensions are loaded after the construction of 
repositories
                 Key: MINIFICPP-1671
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1671
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Ferenc Gerlits
            Assignee: Ferenc Gerlits
             Fix For: 0.11.0


In {{MiNiFiMain.cpp}}, extensions are loaded at line 305 
({{createFlowConfiguration()}} -> {{FlowConfiguration}} constructor), but the 
repositories (provenance/flow/content) are loaded earlier, at lines 263, 272 
and 281.

This means that repository types contained in an extension, eg. 
{{FlowFileRepository}} and {{DatabaseContentRepository}}, cannot be created, 
and Minifi always falls back to using a {{VolatileFlowFileRepository}} and 
{{VolatileContentRepository}} instead.

A consequence of this, for example, is that flow files larger than 7,864,320 
bytes cannot be created, because this is the size limit set in 
{{VolatileContentRepository}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to