-
Notifications
You must be signed in to change notification settings - Fork 27
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
Can I help? :) #14
Comments
100% you can help. I also used that project the most, so I’m biased, and the issues I opened were slanted to features I found there. My current conundrum is to figure out if there is any value at all in the autoconfiguration of channels and clients (stubs). The state of the art in the community projects seems to favour that approach (but I prefer the one in https://github.com/DanielLiu1123/grpc-starter). My initial opinion is that it’s better to use the same approach as Spring Boot does with HTTP clients (ie inject a builder/factory where needed). Your opinion, and anyone else if they feel like it, would be valuable. |
@dsyer yay, great! Let me get familiar with the current state (by trying it on some of my pet projects) 👍 BTW I have some ideas of how Spring Boot's Netty server can be reused, allowing for co-existence on the same port.
That's a good question. I do see value in injecting |
That would be cool. @making also said it could be done with Tomcat in a normal MVC app. |
Correct! There is a Servlet adapter: |
I too prefer the latter as it uses the registrar/register pattern consistent w/ other Spring projects. It also has a coarse grained annotation that specifies basepackages and/or clients whereas the grpc ecosystem starter has a fine grained annotation model per client.
I agree w/ first providing the factories as it is simple (and consistent w/ HTTP clients as you pointed out) . We can always add in a richer annotation scanning model later. |
Hey @dsyer! It's been a while :) I am excited to see first-class gRPC support in Spring ecosystem, I remember our conversations back in 2018 about it :)
Let me know if I can help, or if you will prefer to bootstrap things on your own first (I see value in that too!).
I am a long term user of https://github.com/grpc-ecosystem/grpc-spring but would be happy to migrate to the native implementation once it is available for consumption, and, given my advanced usage of it (e.g. through https://github.com/bsideup/grpc-bidi/tree/main/java), I figured it might be helpful to be close and share my use cases.
Thank you, can't wait to see how it will shape up!
The text was updated successfully, but these errors were encountered: