Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.1.0
-
None
Description
MergeContent will not place more files into bins than the nifi.properties nifi.queue.swap.threshold (default 20,000). This is probably worth a documentation note. Perhaps in the Maximum Number of Entries description in BinFiles. It says "The maximum number of files to include in a bundle. If not specified, there is no maximum." The maximum seems to be = nifi.queue.swap.threshold.
Test Case: GenerateFlowFile and put about 81,000 files into a queue to MergeContent. Wait for most of them to be swapped out. Set Minimum Number of Entries to 25000. Set Max Bin Age to 1 min. When you start MergeContent, it will wait the Max Bin Age duration, then it will merge 20,000 files (the nifi.queue.swap.threshold).