You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2021/01/15 11:01:00 UTC

[jira] [Commented] (NIFI-8143) GetFile: Keep Source File should be true by default

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

Pierre Villard commented on NIFI-8143:
--------------------------------------

Hi [~DamD],

By default, the file will remain available in NiFi - in the content repository (possibly in the archive part of it, in case the flow file is no longer available in the flow). Defaulting to false can also be problematic as the same file will be picked up again and again. In any case the GetFile processor is more or less discouraged going forward. ListFile and FetchFile should be used instead.

> GetFile: Keep Source File should be true by default
> ---------------------------------------------------
>
>                 Key: NIFI-8143
>                 URL: https://issues.apache.org/jira/browse/NIFI-8143
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: DEOM Damien
>            Priority: Critical
>
> GetFile should not remove files by default
> It is very dangerous, even with experimented users (we basically spend 4 hours to restore a cluster because of this)
>  



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