From 9252d47efbd0de563cb19f6ac42f8e508e50aadd Mon Sep 17 00:00:00 2001 From: Thea Flowers Date: Wed, 23 May 2018 15:28:36 -0700 Subject: [PATCH] Add link to streaming pull behavior documentation --- pubsub/google/cloud/pubsub_v1/subscriber/client.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pubsub/google/cloud/pubsub_v1/subscriber/client.py b/pubsub/google/cloud/pubsub_v1/subscriber/client.py index c4906bbbeb21..ff1a76955a40 100644 --- a/pubsub/google/cloud/pubsub_v1/subscriber/client.py +++ b/pubsub/google/cloud/pubsub_v1/subscriber/client.py @@ -119,7 +119,13 @@ def subscribe( is encountered (such as loss of network connectivity). Cancelling the future will signal the process to shutdown gracefully and exit. - Example + .. note:: This uses Pub/Sub's *streaming pull* feature. This feature + properties that may be surprising. Please take a look at + https://cloud.google.com/pubsub/docs/pull#streamingpull for + more details on how streaming pull behaves compared to the + synchronous pull method. + + Example: .. code-block:: python