Skip to content

Consider configuring ProtoReflectionService to use it without internal APIs #7138

@ikhoon

Description

@ikhoon

Due to the popularity of gRPC, some frameworks or libraries have an integration layer for gRPC.

Especially, Armeria has its own server/client implementations to serve/call a gRPC stub.
ProtoReflectionService is using the internal reference of a gRPC-Java server instance since 1.30.0 #6967.
That means a stub running without gRPC-Java server could not use ProtoReflectionService. line/armeria#2806

Armeria injects ServerServiceDefinitions to ProtoReflectionService using notifyOnBuild() hook.
https://github.com/line/armeria/blob/armeria-0.99.6/grpc/src/main/java/com/linecorp/armeria/server/grpc/FramedGrpcService.java#L271-L275
If ProtoReflectionService supports better ways to build ProtoReflectionService,
it could be a good extension point for gRPC-Java ecosystem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions