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

Question related to gRPC retry #932

Closed
banandh opened this issue Jul 10, 2023 · 5 comments
Closed

Question related to gRPC retry #932

banandh opened this issue Jul 10, 2023 · 5 comments
Labels
question A question about this library or its usage

Comments

@banandh
Copy link

banandh commented Jul 10, 2023

Hi,

Is there any support available in the grpc springboot starter to enable the retry based on gRPC status?

Ex: https://github.com/grpc/grpc-java/blob/v1.35.0/examples/src/main/java/io/grpc/examples/retrying/RetryingHelloWorldClient.java#L74

On the managedChannel builder , it registered a serviceonfig which specifies the retry config details.

How to add these configs in the grpc-spring-boot-starter client

@banandh banandh added the question A question about this library or its usage label Jul 10, 2023
@ST-DDT
Copy link
Collaborator

ST-DDT commented Jul 10, 2023

Currently you have to use a GrpcChannelConfigurer, but we have a stale PR that tries to add support for it.

https://github.com/yidongnan/grpc-spring-boot-starter/pull/574

@banandh
Copy link
Author

banandh commented Jul 10, 2023

Thanks @ST-DDT . I'm using 2.14.0 version of grpc springboot starter but i dont see Method, Name Config and mentioned changes.

Please help to provide the version details, and also if you have any reference how to configure this custom config please help to share.

@ST-DDT
Copy link
Collaborator

ST-DDT commented Jul 10, 2023

The PR is not yet added.

@banandh
Copy link
Author

banandh commented Jul 10, 2023

Its almost 2 years , any plan to add the changes? Tentatively when can we expect the retry support?

@ST-DDT
Copy link
Collaborator

ST-DDT commented Jul 10, 2023

Its almost 2 years , any plan to add the changes? Tentatively when can we expect the retry support?

When you put in some work.
Or pay me/us to do it for you.

@ST-DDT ST-DDT closed this as completed Jul 10, 2023
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

2 participants