Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sftp input plugin should process file once #127

Open
alexjoybc opened this issue Sep 13, 2019 · 2 comments
Open

Sftp input plugin should process file once #127

alexjoybc opened this issue Sep 13, 2019 · 2 comments

Comments

@alexjoybc
Copy link
Contributor

public MessageSource<InputStream> sftpMessageSource() {
SftpStreamingMessageSource messageSource = new SftpStreamingMessageSource(template());
messageSource.setRemoteDirectory(properties.getRemoteDirectory());
if(properties.getFilterPattern() != null && !"".equals(properties.getFilterPattern()))
messageSource.setFilter(new SftpRegexPatternFileListFilter(properties.getFilterPattern()));
return messageSource;

The sftp inbound chanel should only process files once.

configuring the sftp-streaming adapter with a metadatastore should allow to process file only once (using redis) for this repo.

@sdevalapurkar-bcgov
Copy link

I think this issue can be closed now @peggy-ntt @alexjoybc 🚀

@akroon3r
Copy link

akroon3r commented Jan 9, 2020

@alexjoybc @peggy-ntt see previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants