-
Notifications
You must be signed in to change notification settings - Fork 606
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
Pub/Sub Deadline Exceeded #2230
Comments
@jmuk @lukesneeringer this happened since we switched to GAX. Is there a better default timeout or similar value GAX should set? EDIT: Ignore this! I was mixing Pub/Sub with Logging. We haven't switched to GAX yet. |
Is this a timeout you need to set our can we do some thing to mitigate away from it? Is it in some way created by our strategy to bundle up messages? or is that a good strategy? |
I'm sorry, I misspoke above. We currently don't use the google-gax transport layer, but we intend to soon. That would mean that each API call would allow you to customize the timeout and other low-level settings. For now, the only way to do this would require a change to our code, allowing a |
There is now a PR for this in #2232 |
This has been released in @google-cloud/[email protected] and [email protected]. |
I am also seeing the same error without much traffic. |
Environment details
Steps to reproduce
We are publishing messages on a number of topics, We hade memory leak problems if calling publish every time we got a message with would put it at around 1000 times per second. So we implemented a batching where we publish 225 messages in every batch. Is do solve the memory problem but we have started to get
Error: Deadline Exceeded
with the later versions.Cant figure out way its started to be thrown more often only change is the version.
Let me know if we can provide anymore information to get this resolved.
Thanks!
The text was updated successfully, but these errors were encountered: