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

[Feature][Module Name]is sftpfile and ftpfile source connectors can add deletePolicy #8590

Open
2 of 3 tasks
18859108815 opened this issue Jan 24, 2025 · 0 comments
Open
2 of 3 tasks

Comments

@18859108815
Copy link

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

is sftpfile and ftpfile source connectors can add deletePolicy,flume has the feature. The description is "When to delete completed files: never or immediate".
https://flume.apache.org/releases/content/1.11.0/FlumeUserGuide.html
By the way, if the sftpfile/ftpfile source connector has parititoned by date, and the path type “/path/yyyyMMdd/filename.csv”, for example "/path/20250120/filename.csv" and "/path/20250124/filename.csv", when source connector has collected the data in "/path/20250120/filename.csv" and deletePolicy has been set as immediate, it will delete both the file "filename.csv" and the directory“20250120”.

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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

1 participant