-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Closed
Copy link
Labels
Milestone
Description
Describe the bug
When using quarkus.grpc.server.use-separate-server=false
sending a gRPC message of 256 KB results in RESOURCE_EXHAUSTED. This does not happen with quarkus.grpc.server.use-separate-server=true
.
Furthermore, quarkus.grpc.server.max-inbound-message-size
has no effect. Even though the default is 4 MB anyways for Java gRPC.
Expected behavior
The integrated gRPC server should behave the same as the separate gRPC server and the configuration should be the same.
Actual behavior
No response
How to Reproduce?
- Generate the default starter with gRPC.
- In
application.properties
, setquarkus.grpc.server.use-separate-server=false
- Update the generated test case and execute:
@Test
void testHello() {
var sizeInChars = 256 * 1024;
helloGrpc.sayHello(
HelloRequest.newBuilder().setName("a".repeat(sizeInChars)).build()
).await().atMost(Duration.ofSeconds(5));
}
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response