Skip to content

PubSub: Remove deprecated methods and settings#8836

Merged
plamut merged 6 commits into
googleapis:masterfrom
plamut:pubsub-remove-deprecated
Jul 31, 2019
Merged

PubSub: Remove deprecated methods and settings#8836
plamut merged 6 commits into
googleapis:masterfrom
plamut:pubsub-remove-deprecated

Conversation

@plamut

@plamut plamut commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

As per offline email thread, this PR removes deprecated PubSub client features (as a follow-up to #8796). It is a pre-release step for the upcoming 0.45.0 release.

How to test

Nothing much except for making sure that all traces of the deprecated things are indeed gone.

It is probably best to review this commit by commit.

@plamut plamut added the api: pubsub Issues related to the Pub/Sub API. label Jul 30, 2019
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 30, 2019
Comment thread pubsub/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py Outdated
Comment thread pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py Outdated
Comment thread pubsub/google/cloud/pubsub_v1/subscriber/_protocol/streaming_pull_manager.py Outdated
@tseaver

tseaver commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

The docs failure in the Pub/Sub Kokoro job looks like a transient network issue (RTD unreachable).

@plamut plamut force-pushed the pubsub-remove-deprecated branch from 45d535b to bb9c7b7 Compare July 30, 2019 22:55
@plamut plamut requested a review from tseaver July 30, 2019 22:57
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@plamut plamut added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@plamut

plamut commented Jul 31, 2019

Copy link
Copy Markdown
Contributor Author

The docs build fine locally, not sure why CircleCI (still) cannot reach readthedocs. Merging.

@plamut plamut merged commit 7e16c08 into googleapis:master Jul 31, 2019
parthea pushed a commit that referenced this pull request Mar 2, 2026
* Remove Message lease() method and autolease param

These two have been deprecated in 0.44.0 and it's time to remove them.

* Remove FlowControl.resume_threshold setting

* Remove FlowControl.max_requests setting

* Remove FlowControl.max_request_batch_size setting

* Remove FlowControl.max_request_batch_latency

* Promote hardcoded values to module constants
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants