0

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?

Pons
  • 1,101
  • 1
  • 11
  • 20

1 Answers1

0

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.

Sabby Anandan
  • 5,636
  • 2
  • 12
  • 21