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

Make maxMessageSize configurable #80

Closed
ST-DDT opened this issue Feb 25, 2019 · 0 comments · Fixed by #84
Closed

Make maxMessageSize configurable #80

ST-DDT opened this issue Feb 25, 2019 · 0 comments · Fixed by #84

Comments

@ST-DDT
Copy link

ST-DDT commented Feb 25, 2019

I have a service that has a method which outputs a very large data set (~8MB) which exceeds the default message size limit of gRPC (4MB). grpc-java has a property to increase this limit maxInboundMessageSize.

Can we add such a property to grpcurl as well?

$ grpcurl -plaintext -d {} 127.0.0.1:9090 my.example.Service.GetLargeDataSet
ERROR:
  Code: ResourceExhausted
  Message: grpc: received message larger than max (8259568 vs. 4194304)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant