googleapis / python-pubsub

Apache License 2.0
385 stars 200 forks source link

docs(samples): Add code sample for optimistic subscribe #1182

Closed mukund-ananthu closed 2 months ago

mukund-ananthu commented 3 months ago

Related documentation: https://cloud.google.com/pubsub/docs/troubleshooting#using_excessive_administrative_operations

Fixes #1183 🦕

snippet-bot[bot] commented 3 months ago

Here is the summary of changes.

You are about to add 1 region tag. - [samples/snippets/subscriber.py:107](https://github.com/googleapis/python-pubsub/blob/8b3aa0d02eef31141e6059a2dc2dc13a3a1d3a7f/samples/snippets/subscriber.py#L107), tag `pubsub_optimistic_subscribe`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

mukund-ananthu commented 2 months ago

@kamalaboulhosn Gentle bump. PTAL when free.

mukund-ananthu commented 2 months ago

@kamalaboulhosn Addressed comments. PTAL when free.