Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote subscribe_experimental() to subscribe(), remove old subscriber implementation. #5274

Merged
merged 2 commits into from May 1, 2018

Conversation

theacodes
Copy link
Contributor

@theacodes theacodes commented Apr 30, 2018

This removes the following public interfaces:

  • pubsub_v1.subscriber.policy.base
  • pubsub_v1.subscriber.policy.thread
  • pubsub_v1.subscriber.futures.Future
  • pubsub_v1.subscriber.client.Client.subscribe_experimental

…r implementation.

This removes the following public interfaces:
* pubsub_v1.subscriber.policy.base
* pubsub_v1.subscriber.policy.thread
* pubsub_v1.subscriber.futures.Future

* pubsub_v1.subscriber.client.Client.subscribe_experimental
@theacodes theacodes requested a review from crwilcox April 30, 2018 22:18
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 30, 2018
@theacodes theacodes changed the title Promote subscribe_experimental() to subscribe(), remove old subscribe… Promote subscribe_experimental() to subscribe(), remove old subscriber implementation. Apr 30, 2018
subscription string.
step is to pull data from it. The subscriber client uses the
:meth:`~.pubsub_v1.subscriber.client.Client.subscribe` method to start a
backgroud thread to receive messages from Pub/Sub and calls a callback with

This comment was marked as spam.

This comment was marked as spam.

@@ -115,6 +123,15 @@ thread will be set on the future.
subscription.close()
raise

Finally, you can use
:meth:`~.pubsub_v1.subscriber.futures.StreamingPullFuture.cancel` to stop
recieving messages.

This comment was marked as spam.

This comment was marked as spam.

@theacodes theacodes merged commit 0da12f6 into googleapis:master May 1, 2018
@theacodes theacodes deleted the drop-old-pubsub-subscriber branch May 1, 2018 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants