-
Notifications
You must be signed in to change notification settings - Fork 69
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
Remove client-side enforcement of send/recv message size limit #669
Comments
Or looking at the original bug: googleapis/gapic-generator#2895 (comment) Maybe this can be set in the protos for the service via https://github.com/grpc/grpc-proto/blob/5ce8e3e598b805a1e0372062913f24b0715fdefc/grpc/service_config/service_config.proto#L83-L115 |
I'm not sure that the service config fields are actually respected. I tried:
diff --git a/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json b/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json
index 2efc373b1..75189345e 100644
--- a/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json
+++ b/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json
@@ -33,7 +33,9 @@
"retryableStatusCodes": [
"UNAVAILABLE"
]
- }
+ },
+ "maxResponseMessageBytes": 4294967295,
+ "maxRequestMessageBytes": 4294967295
},
{
"name": [
|
Texttospeech seems to run into the same issue. googleapis/python-texttospeech#5. Do we want the -1/-1 as before or should we use what's provided in the service config @software-dov? |
Good question. I'll do some investigating to see what the other language surfaces do (that is to say, surfaces for the other programming languages, not just other surfaces for Language). |
There is a piece in the service config spec for these client-side limits, but they don't seem to do anything. Also, the spec seems flawed in that it is per-method, but a channel is created per-client. |
Note: I'm able to patch the channel creation locally with |
I can't find a service config where these variables are set. Is there an example somewhere? |
Hmm, @tswast shared the service config proto: https://github.com/grpc/grpc-proto/blob/5ce8e3e598b805a1e0372062913f24b0715fdefc/grpc/service_config/service_config.proto#L83-L115 so I think in theory it could be added to the JSON. But it doesn't seem to show up in |
Some APIs such as the BigQuery Storage API send / receive blocks which are larger than the default block size. This results in a client side error when recieving messages from a large read request googleapis/python-bigquery-storage#78
This is a regression from this fix in the monolith generator: googleapis/gapic-generator#2900, googleapis/gapic-generator#2905
The text was updated successfully, but these errors were encountered: