-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Implement streaming client backpressure with configurable batch size #636
Conversation
6dc935b
to
6fc4b28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add changelog item, and update backpressure.md in the docs about this functionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add tests for the new functionality?
6fc4b28
to
07deb78
Compare
I don't quite understand the testing machinery here. How can we test backpressure? |
@thesamet it's not possible to test backpressure reliably because the server just keeps sending messages. See: zio-grpc/core/src/main/scalajvm/scalapb/zio_grpc/server/ZServerCallHandler.scala Line 115 in 5d29b6e
The check to
I don't know if that's intended or not but it means that test service keeps sending me messages I didn't |
@thesamet wdyt about this one? |
Closes #631