0
votes

I'm trying to utilize spring-cloud-starter-stream-source-file app (https://github.com/spring-cloud-stream-app-starters/file/tree/master/spring-cloud-starter-stream-source-file) to poll a directory and send the file ref to custom processor for further processing.

Is there an option available to delete the file after being processed by the source app?

1

1 Answers

0
votes

We don't have the option to delete the processed file for the file-source yet. Feel free to add a story in the file-source backlog - we welcome contributions, too!

As an alternative, you could use the sftp-source, and that includes an option to delete the remote files on successful ingest.