We need to be able to use gRPC interceptors in the CDI micro profile environment. The interceptors should be discoverable and applied to services or methods.
The current thinking is that we can use annotation binding for this in the same way that CDI interceptors work. A gRPC service class can be annotated with custom "interceptor binding" annotations. A gRPC interceptor is also annotated with the same annotation. When the server is bootstrapped and services are discovered the interceptors for the specific annotations should be discovered and applied to the service/method configuration.
On hold until the gRPC client APIs are in the MP branch so that the work done for server side interceptor discovery can be repeated along with examples and docs.
We need to be able to use gRPC interceptors in the CDI micro profile environment. The interceptors should be discoverable and applied to services or methods.
The current thinking is that we can use annotation binding for this in the same way that CDI interceptors work. A gRPC service class can be annotated with custom "interceptor binding" annotations. A gRPC interceptor is also annotated with the same annotation. When the server is bootstrapped and services are discovered the interceptors for the specific annotations should be discovered and applied to the service/method configuration.