Skip to content

examples: Adds client/server retrying example via service config - #7111

Merged
ejona86 merged 4 commits into
grpc:masterfrom
alexanderscott:retrying-example
Jun 16, 2020
Merged

examples: Adds client/server retrying example via service config#7111
ejona86 merged 4 commits into
grpc:masterfrom
alexanderscott:retrying-example

Conversation

@alexanderscott

Copy link
Copy Markdown
Contributor

Provides an example HelloWorld GRPC client & server which demos the effect of client retry policy configured to the ManagedChannel via GRPC ServiceConfig.

Retry policy configuration is outlined in its proposal, and this example is very similar to the Hedging Example.

I created this example to prove that client GRPC retry via service config does indeed work (although still marked as experimental). Also wrote an example and tests using client future unary calls, but figure this simple example is sufficient.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jun 10, 2020

Copy link
Copy Markdown

CLA Check
The committers are authorized under a signed CLA.

@dapengzhang0 dapengzhang0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you also add a session here for retry, similar for hedging example?

Comment thread examples/gradle/wrapper/gradle-wrapper.properties Outdated
@alexanderscott

Copy link
Copy Markdown
Contributor Author

@dapengzhang0 added a section to the README. hope it looks ok 👍

@alexanderscott

Copy link
Copy Markdown
Contributor Author

any idea why the "Macos" pipeline check could be stuck on "waiting"? I'm unfamiliar with the CI integrations...

@dapengzhang0 dapengzhang0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Comment thread examples/README.md Outdated
@dapengzhang0

dapengzhang0 commented Jun 12, 2020

Copy link
Copy Markdown
Contributor

any idea why the "Macos" pipeline check could be stuck on "waiting"? I'm unfamiliar with the CI integrations...

Those tests are manually triggered by project owners for external user's PRs. No worries.

@dapengzhang0 dapengzhang0 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Jun 13, 2020
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Jun 13, 2020
@dapengzhang0
dapengzhang0 requested a review from ejona86 June 16, 2020 17:57
@ejona86
ejona86 merged commit a543174 into grpc:master Jun 16, 2020
@ejona86

ejona86 commented Jun 16, 2020

Copy link
Copy Markdown
Member

@alexanderscott, thank you!

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 12, 2021
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.

4 participants