Skip to content

fix: ensure ack() doesn't wait on stream messages#234

Merged
dpcollins-google merged 4 commits intomainfrom
no-async-wait
Sep 13, 2021
Merged

fix: ensure ack() doesn't wait on stream messages#234
dpcollins-google merged 4 commits intomainfrom
no-async-wait

Conversation

@dpcollins-google
Copy link
Collaborator

also fix error propagation to streaming pull future

also fix error propagation to streaming pull future
@dpcollins-google dpcollins-google requested review from a team as code owners September 13, 2021 20:52
@product-auto-label product-auto-label bot added the api: pubsublite Issues related to the googleapis/python-pubsublite API. label Sep 13, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 13, 2021
except GoogleAPICallError as e: # noqa: F841 Flake8 thinks e is unused
self._unowned_executor.submit(lambda: self._fail(e)) # noqa: F821
except GoogleAPICallError as e:
self._unowned_executor.submit(partial(self._fail, e))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can't capture exceptions in lambda bindings

also fix error propagation to streaming pull future
also fix error propagation to streaming pull future
@dpcollins-google dpcollins-google added kokoro:force-run Add this label to force Kokoro to re-run the tests. automerge Merge the pull request once unit tests and other checks pass. labels Sep 13, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants