Skip to content

feat(pubsub): add support for cloud storage subscriptions#7977

Merged
hongalex merged 16 commits into
googleapis:mainfrom
hongalex:feat-pubsub-storage-subscriptions
Jun 23, 2023
Merged

feat(pubsub): add support for cloud storage subscriptions#7977
hongalex merged 16 commits into
googleapis:mainfrom
hongalex:feat-pubsub-storage-subscriptions

Conversation

@hongalex

@hongalex hongalex commented May 22, 2023

Copy link
Copy Markdown
Member

Add support for subscriptions that pushes messages to Cloud Storage.

@hongalex
hongalex requested review from a team May 22, 2023 22:55
@hongalex
hongalex requested a review from shollyman as a code owner May 22, 2023 22:55
@product-auto-label product-auto-label Bot added size: l Pull request size is large. api: pubsub Issues related to the Pub/Sub API. labels May 22, 2023
Comment thread pubsub/pstest/fake.go Outdated
@hongalex
hongalex requested a review from shollyman June 15, 2023 18:55
Comment thread pubsub/subscription.go
Comment thread pubsub/subscription.go
Comment thread pubsub/subscription_test.go
Comment thread pubsub/subscription_test.go Outdated
Comment thread pubsub/pstest/fake.go
Comment thread pubsub/pstest/fake.go
}

case "cloud_storage_config":
sub.proto.CloudStorageConfig = req.GetSubscription().GetCloudStorageConfig()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's some invariant here that ensures req.GetSubscription() doesn't return nil?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, it's checked in the first lines above

Comment thread pubsub/subscription.go Outdated
@product-auto-label product-auto-label Bot added the stale: old Pull request is old and needs attention. label Jun 22, 2023
@hongalex
hongalex merged commit 54218e9 into googleapis:main Jun 23, 2023
@hongalex
hongalex deleted the feat-pubsub-storage-subscriptions branch December 10, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. size: l Pull request size is large. stale: old Pull request is old and needs attention.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants