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

Peter Turcsanyi updated NIFI-11369:
-----------------------------------
    Status: Patch Available  (was: In Progress)

> 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)

Reply via email to