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

Implement support for bucket object retention plans #28

Open
beikov opened this issue Apr 28, 2020 · 0 comments
Open

Implement support for bucket object retention plans #28

beikov opened this issue Apr 28, 2020 · 0 comments

Comments

@beikov
Copy link
Member

beikov commented Apr 28, 2020

The idea is to introduce something like a bucket object retention plan which can be assigned to bucket objects. If needed we could introduce a default assignment to objects based on e.g. bucket object prefix.

The plan defines a retention period e.g. 30 days and an action. Interesting actions are

  • Move to storage + set new retention plan
  • Delete
  • Publish a bucket object event

The use case is to provide a temporary storage for e.g. attachments that are used when sending an email. An attachment can be put into the bucket with a retention of e.g. 30 days. An e-mail is sent with the bucket objects as attachment. The bucket object is kept around for a while in case it is necessary to debug or re-send the e-mail.

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

No branches or pull requests

1 participant