[
https://issues.apache.org/jira/browse/NIFI-11369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17727549#comment-17727549
]
ASF subversion and git services commented on NIFI-11369:
--------------------------------------------------------
Commit 3bd4b49abe51d656950072ddcbf24dace70266e4 in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=3bd4b49abe ]
NIFI-11369: Fixed Defragment strategy with optional fragment.count attribute in
MergeContent
> MergeContent unexpected behaviour
> ---------------------------------
>
> Key: NIFI-11369
> URL: https://issues.apache.org/jira/browse/NIFI-11369
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.20.0
> Reporter: Tamas Neumer
> Assignee: Peter Turcsanyi
> Priority: Minor
>
> Hi,
> I would like to merge FlowFiles and came across the following documentation:
> [https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.20.0/org.apache.nifi.processors.standard.MergeContent/additionalDetails.html|https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/[%E2%80%A6].nifi.processors.standard.MergeContent/additionalDetails.html]
> Quoting from it: _"It is not necessary that all FlowFiles have this value,
> but at least one FlowFile in the bin must have this value or the bin will
> never be complete..."_
> I have built a flow that assigns the following attributes to the FlowFiles:
> * fragment.identifier
> * fragment.index
> * segment.original.filename
> As stated in the documentation mentioned above, the attribute fragment.count
> is just assigned to the last FlowFiles with the correct number.
> The error I experience is that all the flow files without fragment.count
> provoke an error stating:
> ...... Cannot Defragment ...because it does not have an integer value for the
> fragment.count attribute; routing to failure
>
> Could you help us out please?
> Thank you!
> Kind regards,
> Florian and Tamas
--
This message was sent by Atlassian Jira
(v8.20.10#820010)