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

Adding bucket notifications feature #176

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

RodrigoFerretti
Copy link

@RodrigoFerretti RodrigoFerretti commented May 11, 2022

Description

Notifications can be used to send information about changes to objects in your buckets to Pub/Sub.

Proposal

Integration with Pub/Sub will happen either with emulator APIs or GCP.
Information about Pub/Sub emulator can be found here.

To emulate the official Google Cloud bucket notification, the new routes will:

  • insert new bucket notification
  • delete bucket notification
  • get bucket notification
  • getbyid bucket notification

Existing route of upload will:

  • send notification to Pub/Sub topic whenever a object is inserted into a bucket

This is still a draft and there is a lot of study to do!

Official information about Pub/Sub notification for Cloud Storage can be found here.

@jon-acker
Copy link

Any chance this is happening? It would be a very useful addition.

@RodrigoFerretti
Copy link
Author

RodrigoFerretti commented Mar 25, 2023

Any chance this is happening? It would be a very useful addition.

Hi! Got busy at work and forgot about this, my bad. I will take a look to see what it needs for this pull request to be ready for review. If I am not mistaken, there are only some test methods to be done. It also needs documentation about the process of using it with the emulator. Hopefully is done by next week. :)

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

Successfully merging this pull request may close these issues.

2 participants