Skip to content

Support applyGlobalInterceptors flag in @GRpcService annotation #1166

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

Open
tjnuccio opened this issue Feb 3, 2025 · 0 comments
Open

Support applyGlobalInterceptors flag in @GRpcService annotation #1166

tjnuccio opened this issue Feb 3, 2025 · 0 comments
Labels
enhancement A feature request or improvement

Comments

@tjnuccio
Copy link

tjnuccio commented Feb 3, 2025

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

@tjnuccio tjnuccio added the enhancement A feature request or improvement label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request or improvement
Projects
None yet
Development

No branches or pull requests

1 participant