Skip to content

pubsub: add keepalive#2585

Merged
garrettjonesgoogle merged 1 commit intogoogleapis:masterfrom
pongad:pubsub-idle
Nov 7, 2017
Merged

pubsub: add keepalive#2585
garrettjonesgoogle merged 1 commit intogoogleapis:masterfrom
pongad:pubsub-idle

Conversation

@pongad
Copy link
Copy Markdown
Contributor

@pongad pongad commented Nov 7, 2017

If streaming pull connection is idle for a long time,
a firewall/proxy might terminate the connection.
The keepalive should prevent this from happening,
or at least let us notice that the connection is terminated so we don't
wait forever.

Fixes #2506

If streaming pull connection is idle for a long time,
a firewall/proxy might terminate the connection.
The keepalive should prevent this from happening,
or at least let us notice that the connection is terminated so we don't
wait forever.

Fixes #2506
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 7, 2017
@pongad
Copy link
Copy Markdown
Contributor Author

pongad commented Nov 7, 2017

We seem to be getting some deadlock in CI. Analysis and experience suggest these flakes are caused by the test themselves; the libraries aren't doing anything fundamentally wrong.

I'm planning to simply pubsub implementation and tests in upcoming weeks which, I hope, will make these flakes go away. I think we can merge this for now.

@garrettjonesgoogle garrettjonesgoogle merged commit 6faf7f9 into googleapis:master Nov 7, 2017
@pongad pongad deleted the pubsub-idle branch November 7, 2017 22:53
schmidt-sebastian pushed a commit to FirebasePrivate/google-cloud-java that referenced this pull request Nov 9, 2017
If streaming pull connection is idle for a long time,
a firewall/proxy might terminate the connection.
The keepalive should prevent this from happening,
or at least let us notice that the connection is terminated so we don't
wait forever.

Fixes googleapis#2506
chingor13 pushed a commit that referenced this pull request Feb 20, 2026
chingor13 pushed a commit that referenced this pull request Mar 30, 2026
…41.0 (#2585)

* chore(deps): update dependency com.google.cloud:libraries-bom to v26.41.0

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
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.

3 participants