-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove java_generic_services option from service proto files #25172
Comments
cc: @mattklein123 |
cc @phlax. Seems fine to me. |
this also makes sense to me - reading the links we probably do want to remove the service lines my only apprehension is that afaict they are all/mostly set to |
@scrocquesel if you wanted to PR the necessary changes we could at least see if it gets past CI and then i guess canvass some more opinions in terms of impact |
Generic services are deprecated since protoc version 2.4.0 (2010). Protoc plugins that generates code may require that generic services are disabled, so that they can generate their own classes of the same name. Risk Level: Low Fixes #25172 Signed-off-by: Sébastien CROCQUESEL <88554524+scrocquesel@users.noreply.github.com>
Title: Remove java_generic_services option from service proto files
Description:
Since version 2.4.0 (2018) this option has been deprecated and such generated classes should not be used anymore (https://developers.google.com/protocol-buffers/docs/reference/java-generated?hl=en#service).
When using plugin that produce class with the same name, protoc complains about collision and failed.
Such plugins are provided by Quarkus gRPC Mutiny generator and it is not possible to generate Mutiny service from https://github.com/envoyproxy/java-control-plane/tree/main/api
The text was updated successfully, but these errors were encountered: