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

GRPC Client Stream #1128

Open
luffyxue55 opened this issue Jul 19, 2024 · 0 comments
Open

GRPC Client Stream #1128

luffyxue55 opened this issue Jul 19, 2024 · 0 comments
Labels
question A question about this library or its usage

Comments

@luffyxue55
Copy link

Hey everyone,
I'm building an GRPC API like this:

service MyService {
  rpc sendMessageStream(stream MyRequest) returns(MyResult){};
}

message MyRequest {
optional String user_id = 1;
optional String message = 2;
}

If client invokes the GRPC API but never invokes the onCompleted method,will it occupy server-side memory resources?

The server is implemented in Java, and the client may be python, Java or C++

The dependency versions introduced by the server are as follows

  • Spring (boot):2.13.1.RELEASE
  • grpc-spring-boot-starter:2.13.1.RELEASE
  • java: JDK11
@luffyxue55 luffyxue55 added the question A question about this library or its usage label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question about this library or its usage
Projects
None yet
Development

No branches or pull requests

1 participant