8000 revert: remove graceful streaming pull shutdown by anguillanneuf · Pull Request #315 · googleapis/python-pubsub · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

revert: remove graceful streaming pull shutdown#315

Merged
anguillanneuf merged 1 commit intomasterfrom
revert-292-iss-276
Mar 10, 2021
Merged

revert: remove graceful streaming pull shutdown#315
anguillanneuf merged 1 commit intomasterfrom
revert-292-iss-276

Conversation

@anguillanneuf
Copy link
Contributor
@anguillanneuf anguillanneuf commented Mar 10, 2021

Reverts #292

Release 2.4.0 which contains this feature has been yanked from PyPi: https://pypi.org/project/google-cloud-pubsub/

Graceful streaming pull shutdown introduces an optional wait on callbacks on streaming pull futures. It would otherwise break the streaming pull future returned by the Pub/Sub Lite subscriber client. See googleapis/python-pubsublite#95

@anguillanneuf anguillanneuf requested a review from a team M 8000 arch 10, 2021 01:14
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 10, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 10, 2021
@anguillanneuf anguillanneuf changed the title Revert "feat: add graceful streaming pull shutdown" fix: remove graceful streaming pull shutdown Mar 10, 2021
@busunkim96 busunkim96 changed the title fix: remove graceful streaming pull shutdown revert: remove graceful streaming pull shutdown Mar 10, 2021
@busunkim96
Copy link
Contributor

@anguillanneuf Sorry to edit the title on you again.

I checked the conventional commit spec and it turns out there's a revert: type. 😄
https://www.conventionalcommits.org/en/v1.0.0/#how-does-conventional-commits-handle-revert-commits aaand release-please knows what to do with it. https://github.com/googleapis/release-please/blob/d8ac96721de299f89fb435dc1650bf5d7dce8857/src/releasers/python.ts#L35

@anguillanneuf anguillanneuf merged commit 16bf588 into master Mar 10, 2021
@anguillanneuf anguillanneuf deleted the revert-292-iss-276 branch March 10, 2021 01:42
plamut added a commit that referenced this pull request Mar 10, 2021
plamut added a commit that referenced this pull request Mar 24, 2021
* Revert "revert: add graceful streaming pull shutdown (#315)"

This reverts commit 16bf588.

* Move await_msg_callbacks to subscribe() method

This is to keep the StreamingPullFuture's surface intact for
compatibility with PubSub Lite client.

* Make streaming pull close() method non-blocking

* Add a blocking streaming pull shutdown sample

* Refine docs on awaiting callbacks on shutdown
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: pubsub Issues related to the googleapis/python-pubsub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0