-
Notifications
You must be signed in to change notification settings - Fork 863
Open
Labels
enhancementA feature request or improvementA feature request or improvement
Description
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
Labels
enhancementA feature request or improvementA feature request or improvement