-
Notifications
You must be signed in to change notification settings - Fork 604
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
gRPC max size limit #1991
Comments
@murgatroid99 @jmuk do you know if there's a way to handle this? |
It's really obscure to me how to customize the parameters like this. Maybe the third parameter to the Client constructor might be used (https://github.com/grpc/grpc/blob/master/src/node/src/client.js#L732) but I don't know what values or structures can configure this. @murgatroid99, do you know which keys/values we should use here? |
The keys and values are defined at https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/grpc_types.h#L148. The one you want for this case is |
Thanks! I also filed googleapis/gax-nodejs#107 for this problem. |
PR sent to remove the limit of the max message sent length and max message received length: #2007 |
With toolkit changes, this allows customizing grpc behaviors. See: - googleapis/google-cloud-node#1991 - googleapis/google-cloud-node#1905
With toolkit changes, this allows customizing grpc behaviors. See: - googleapis/google-cloud-node#1991 - googleapis/google-cloud-node#1905
We still seem to be hitting this 4mb limit while testing with the following versions:
Any recommendation for how to avoid this GRPC limit? |
I am using the grpcio python lib, and encounter the same issue, any idea to get rid of this? |
Since grpc version 1.0.0, message size is limit 4MB, and pubsub itself supports payload size upto 10MB. If there is message that is greater than 4MB in queue, pubsub client errors out with
Error: Received message larger than max (6374241 vs. 4194304)
Environment details
Steps to reproduce
Thanks!
The text was updated successfully, but these errors were encountered: