Skip to content

pubsub: incorrect region tag in async sample #2330

@hongalex

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions