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

Support for GCS Cloud Pub/Sub Notifications #1420

Closed
BrandonY opened this issue Nov 23, 2016 · 3 comments
Closed

Support for GCS Cloud Pub/Sub Notifications #1420

BrandonY opened this issue Nov 23, 2016 · 3 comments
Assignees
Labels
api: storage Issues related to the Cloud Storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. triaged for GA type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@BrandonY
Copy link

GCS has a new feature (currently in private alpha) wherein buckets can be configured to send object change notifications to Cloud Pub/Sub topics, rather than as push notifications to HTTPS endpoints.

In gcloud-java, I imagine such a feature might look something like this:

Storage storage = StorageOptions.getDefaultInstance().getService();
PubSub pubsub = PubSubOptions.getDefaultInstance().getService()

Bucket bucket = storage.get(BUCKET_NAME);
Topic topic = pubsub.getTopic(TOPIC_NAME);
NotificationConfig notificationConfig = bucket.sendNotificationsTo(topic);
@garrettjonesgoogle garrettjonesgoogle added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. triaged for beta api: storage Issues related to the Cloud Storage API. labels Nov 23, 2016
@BrandonY
Copy link
Author

FYI, this feature is now in public beta.

@garrettjonesgoogle garrettjonesgoogle added priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed POST GA - P1 labels Apr 26, 2017
@b-turk
Copy link

b-turk commented May 30, 2017

+1 for this enhancement

@garrettjonesgoogle garrettjonesgoogle added priority: p2 Moderately-important priority. Fix may not be included in next release. and removed priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jul 18, 2017
@danoscarmike
Copy link
Contributor

@BrandonY, as we are tracking all GCS feature requests internally I will add it to the feature backlog page in the repo wiki: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog. This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

github-actions bot pushed a commit that referenced this issue Jul 18, 2022
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Source-Link: googleapis/synthtool@72c64b7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:b2e8f445ca0e605d4bbefbfdbdf7335692d75cf1647af62243828dcc0ea4e690
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. priority: p2 Moderately-important priority. Fix may not be included in next release. triaged for GA type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

5 participants