I'm using Spring Integration to poll for files from an S3 bucket. I cannot delete the files after processing and so I added the S3PersistentAcceptOnceFileListFilter
. I have a lot of files and poll frequently which is causing unneeded stress on the FILE_SYNC_METADATA_STORE
table.
I'm wondering if there is a FileListFilter
implementation that filters for files that are new/updated since the last poll, rather than having to query the DB for each file.