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

PubSub & Rpc timeout #2983

Closed
tcroiset opened this issue Feb 6, 2017 · 3 comments
Closed

PubSub & Rpc timeout #2983

tcroiset opened this issue Feb 6, 2017 · 3 comments
Assignees
Labels
api: pubsub Issues related to the Pub/Sub API. grpc

Comments

@tcroiset
Copy link

tcroiset commented Feb 6, 2017

Hi,

Part our of pubsub rpc calls (i.e. publish()) timeout:
GaxError: GaxError(RPC failed, caused by <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, The service was unable to fulfill your request. Please try again. [code=8a75])>)

It looks like the timeout occurs after about 60s.
For some reason, such timeouts were frequent in the last few days.

Is there any existing or upcoming way to reduce the timeout limit and to fail sooner?

@tseaver
Copy link
Contributor

tseaver commented Feb 6, 2017

We don't expose any way to set a timeout for Topic.publish calls.

For GAPIC/gRPC requests, the google.gax.CallOptions class does expose a timeout field: we could likely work out how to inject a user-supplied timeout value into the instance which we pass through to the GAPIC API object.

@tcroiset
Copy link
Author

tcroiset commented Feb 6, 2017

would be great

@lukesneeringer
Copy link
Contributor

In the interest of sane management overhead, closing this in favor of #2993.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. grpc
Projects
None yet
Development

No branches or pull requests

4 participants