plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Plugin request for Buf Schema Registry: quarkus grpc generator

Open zZHorizonZz opened this issue 1 year ago • 2 comments

Where is the source code for the plugin?

The plugin is located in the Quarkus repository at https://github.com/quarkusio/quarkus. Specifically, the plugin code can be found at https://github.com/quarkusio/quarkus/tree/main/extensions/grpc/protoc.

Does the plugin have a valid semver version?

The plugin version should be the same as the Quarkus version, which is currently 3.17.4.

Does the plugin have a dependency on another plugin?

The plugin generates Mutiny stubs and requires the following plugins to be available:

  • buf.build/grpc/java
  • buf.build/protocolbuffers/java

I have tested the generated sources with Protobuf output, and they are compatible with these plugins.

Does the output of this plugin depend on any other external libraries?

The plugin output has a dependency on Quarkus.

zZHorizonZz avatar Dec 13 '24 06:12 zZHorizonZz

Would love to see Quarkus protobuf and grpc support via the bsr as a plugin. The Mutiny stubs are very nice.

Tridacnid avatar Mar 19 '25 23:03 Tridacnid

I think there's an alternative path forward as well: https://quarkus.io/guides/grpc-generation-reference#configuring-grpc-code-generation-for-dependencies Quarkus can generate protobuf and grpc from dependencies that contain .proto sources. I know it's not quite as beautiful or integrated but a plugin that provides .proto files via Maven/Gradle could be used to achieve this.

Tridacnid avatar Mar 20 '25 12:03 Tridacnid