Skip to content

docs(pubsub): Add subscriber shutdown documentation and examples - #36482

Draft
aandreassa wants to merge 1 commit into
pubsub-shutdown-optionsfrom
pubsub-shutdown-docs
Draft

docs(pubsub): Add subscriber shutdown documentation and examples#36482
aandreassa wants to merge 1 commit into
pubsub-shutdown-optionsfrom
pubsub-shutdown-docs

Conversation

@aandreassa

@aandreassa aandreassa commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Adds documentation and code examples for subscriber shutdown options:

  1. Added a Subscriber Shutdown Options section to README.md demonstrating :wait_for_processing, :nack_immediately, and shutdown_timeout: 30.
  2. Added YARD @example blocks on Subscriber#listen in subscriber.rb illustrating immediate nack on shutdown and custom timeout usage.
  3. Verified documentation generation via rake yard and rake doctest.

@aandreassa
aandreassa changed the base branch from main to pubsub-shutdown-options August 28, 2026 00:35
@aandreassa aandreassa added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 28, 2026
@aandreassa aandreassa closed this Aug 28, 2026
@aandreassa aandreassa reopened this Aug 28, 2026
@aandreassa aandreassa added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Aug 28, 2026
@aandreassa
aandreassa force-pushed the pubsub-shutdown-docs branch from 2e6d8d0 to 93d2b7c Compare August 28, 2026 01:12
@aandreassa aandreassa added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Aug 28, 2026
1. Added a **Subscriber Shutdown Options** section to `README.md` demonstrating `:wait_for_processing`, `:nack_immediately`, and `shutdown_timeout: 30`.
2. Added YARD `@example` blocks on `Subscriber#listen` in `subscriber.rb` illustrating immediate nack on shutdown and custom timeout usage.
3. Verified documentation generation via `rake yard` and `rake doctest`.
@aandreassa
aandreassa force-pushed the pubsub-shutdown-docs branch from 93d2b7c to f710d91 Compare August 28, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants