docs: block until the streaming pull shuts down by plamut · Pull Request #424 · googleapis/python-pubsub
If subscriber client is used as a context manager, we need to block until the shutdown is complete before leaving the `with` block. If not, errors can occur if the underlying gRPC channel is closed before subscriber client makes the final RPC requests to the server (e.g. auto NACK anny remaining messages).
google-cla
bot
added
the
cla: yes
label
Jun 3, 2021
plamut
added
kokoro:force-run
labels
Jun 14, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters