[ 
https://issues.apache.org/jira/browse/NIFI-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268263#comment-17268263
 ] 

ASF subversion and git services commented on NIFI-7698:
-------------------------------------------------------

Commit 930e8d9e0e59ff24f50d7e3a052870b1112f076a in nifi's branch 
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=930e8d9 ]

NIFI-7698: Added a merge.reason attribute for flowfiles indicating why they 
were merged by MergeContent. Also updated logs to indicate the reason and added 
additional documentation for processor

Signed-off-by: Matthew Burgess <[email protected]>

This closes #4764


> MergeContent should include Details in provenance event indicating why bin 
> was merged
> -------------------------------------------------------------------------------------
>
>                 Key: NIFI-7698
>                 URL: https://issues.apache.org/jira/browse/NIFI-7698
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> MergeContent has many different configuration options. There are options for 
> the minimum number of objects/bytes, and the maximum number of objects/bytes. 
> There's an option for the maximum amount of time that a bin can last before 
> being merged. There's also a maximum number of bins, and if that number is 
> exceeded, a bin is evicted prematurely. As a result, MergeContent sometimes 
> merges bins when users do not expect this to happen. Unfortunately, it does 
> so without indicating why the bin was merged. When FlowFiles are merged, the 
> Provenance Event should contain extra details indicating the reason that the 
> bin was merged:
> - Bin Expiration Time was reached
> - Maximum number of objects was reached
> - Maximum number of bytes were reached
> - Minimum number of objects reached but not maximum
> - Minimum number of bytes reached but not maximum
> - FlowFile did not fit in any bin, and maximum number of bins reached



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

Reply via email to