Skip to content

Support applyGlobalInterceptors flag in @GRpcService annotation #1166

Open
@tjnuccio

Description

@tjnuccio

The problem

It's not current possible to register services without global interceptors, though it would be very easy for the library to support it. Certain services, such as a custom HealthService, benefit from this option.

The solution

Support an applyGlobalInterceptors flag in the @GRpcService annotation which skips registering global interceptors for the annotated service.

Alternatives considered

N/A

Additional context

LogNet's grpc-spring-boot-starter supports this and might be a useful reference. https://github.com/LogNet/grpc-spring-boot-starter/blob/master/grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/GRpcService.java#L24

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature request or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions