Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-1671

Extensions are loaded after the construction of repositories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              fgerlits Ferenc Gerlits
              fgerlits Ferenc Gerlits
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h