[
https://issues.apache.org/jira/browse/NIFI-11758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743316#comment-17743316
]
ASF subversion and git services commented on NIFI-11758:
--------------------------------------------------------
Commit 437995b75a4237b7bf9d304f7693cf3b53371a9f in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=437995b75a ]
NIFI-11758: Added FileResourceService and used it in PutAzure*Storage
processors for local file upload
- Renamed classes from DataUpload to ResourceTransfer and updated references
- Disabled testNonReadableFile() on Windows due to Posix permissions
- Replaced utility methods with functional handling of FileResource
- Corrected FlowFile InputStream access using Optional.orElseGet()
This closes: #7458
Co-authored-by: David Handermann <[email protected]>
Signed-off-by: Nandor Soma Abonyi <[email protected]>
> Add local file upload option in PutAzure*Storage processors
> -----------------------------------------------------------
>
> Key: NIFI-11758
> URL: https://issues.apache.org/jira/browse/NIFI-11758
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> There are cases when the files to be uploaded to Azure Storage are available
> on the local filesystem where NiFi is running. That is, the flow could read
> and upload the files directly from the filesystem without adding it in NiFi's
> content repo which is an overhead in this case (can be relevant for huge
> files).
> Add "Data to Upload" property with options "FlowFile's Content" (default,
> current behaviour) and "Local File". Using the latter, the user can by-pass
> the content repo and upload the file from the local filesystem to Azure
> Storage directly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)