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

examples:Client and Server sharing example #9969

Merged
merged 6 commits into from
Mar 27, 2023

Conversation

larry-safran
Copy link
Contributor

Part of example Fixit

Fixes b/259285817

@larry-safran larry-safran added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Mar 21, 2023
@grpc-kokoro grpc-kokoro removed the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Mar 21, 2023
examples/src/main/proto/echo.proto Outdated Show resolved Hide resolved
try {
SharingClient client = new SharingClient(channel);

CountDownLatch finishLatch = client.initiateEchos(echoInput, echoOutput);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might consider using the future stub instead. It makes waiting much more natural.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched to future, but kept streaming stub

@larry-safran
Copy link
Contributor Author

@YifeiZhuang Ready for rereview

Copy link
Contributor

@YifeiZhuang YifeiZhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one more comment, otherwise LGTM.

@larry-safran larry-safran merged commit e04c6ec into grpc:master Mar 27, 2023
@larry-safran larry-safran deleted the multiplex_example branch June 12, 2023 20:30
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants