-
Notifications
You must be signed in to change notification settings - Fork 553
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
docs(pubsub): Add ingestion from GCS samples #27434
base: main
Are you sure you want to change the base?
Conversation
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|
The test is failing because the GCS ingestion feature is not enabled for the integration test project. It looks like the project is |
…ngestion sample test
The GCS bucket |
Gentle bump on this @dazuma |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, sorry this fell through the cracks. Need just a couple of items.
let(:subscription_id) { random_subscription_id } | ||
let(:dead_letter_topic_id) { random_topic_id } | ||
|
||
after do | ||
@subscription.delete if @subscription | ||
@topic.delete if @topic | ||
@cloud_storage_ingestion_topic.delete if @cloud_storage_ingestion_topic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see where this instance variable gets set. Did you intend to set it in the test below (i.e. instead of just setting a local variable in line 74)?
@@ -392,14 +409,14 @@ | |||
|
|||
# Pub/Sub calls may not respond immediately. | |||
# Wrap expectations that may require multiple attempts with this method. | |||
def expect_with_retry sample_name, attempts: 5 | |||
def expect_with_retry(sample_name, attempts: 5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't need to add these parens. Our style prefers omitting them.
This adds samples for Pub/Sub ingestion from GCS topics.