You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2021/10/27 07:43:00 UTC

[jira] [Resolved] (MINIFICPP-1671) Extensions are loaded after the construction of repositories

     [ https://issues.apache.org/jira/browse/MINIFICPP-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ferenc Gerlits resolved MINIFICPP-1671.
---------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 0.11.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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)