Skip to content

pubsub: incorrect region tag in async sample #2330

Closed
GoogleCloudPlatform/ruby-docs-samples
#443

Description

@hongalex

def receive_messages_with_custom_attributes(project_id, subscription_name):
"""Receives messages from a pull subscription."""
# [START pubsub_subscriber_sync_pull_custom_attributes]

This sample uses a region tag that says pubsub_subscriber_sync_pull_custom_attributes, but in reality, the messages are being received asynchronously using subscriber.subscribe. We need to update the region tag and referencing docs.

There's a similar issues with the Ruby samples

Activity

  1. anguillanneuf commented on Aug 12, 2019

    @anguillanneuf
    Member

    @hongalex Shall we standardize the region tag here as pubsub_subscriber_async_pull_custom_attributes for all languages?

  2. hongalex commented on Aug 12, 2019

    @hongalex
    ContributorAuthor

    Sounds good to me. Can you update the tracker? Thanks!

  3. anguillanneuf commented on Aug 12, 2019

    @anguillanneuf
    Member

    Sure! Just need to make sure we don't delete these tags until changes are published.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions