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

Mark Payne edited comment on NIFI-4427 at 9/28/17 5:57 PM:
-----------------------------------------------------------

[~randy_b] one possible way to identify it would be to use the DetectDuplicate 
processor and set the "Cache Entry Identifier" property to "{{${filename}}}"


was (Author: markap14):
[~randy_b] one possible way to identify it would be to use the DetectDuplicate 
processor and set the "Cache Entry Identifier" property to "${filename}"

> Default for FlowFile's filename should be the FlowFile's UUID
> -------------------------------------------------------------
>
>                 Key: NIFI-4427
>                 URL: https://issues.apache.org/jira/browse/NIFI-4427
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>         Attachments: Multiple Duplicate Filenames.png
>
>
> Currently, when a new FlowFile is created without any parents, the filename 
> is set to System.nanoTime(). This is likely to result in filename collisions 
> when operating at a high rate and the extra System call could be avoided. 
> Since we are already generating a unique UUID we should just use that as the 
> filename.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to