You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An `InProcessGrpcServerFactory` picks up the `ServerInterceptorFilter` automatically.
139
+
Any other server factory will require you to provide a `GrpcServerFactoryCustomizer` in which you can modify the factory by adding a filter, as shown in the following example:
Copy file name to clipboardExpand all lines: spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This section covers the changes made from version 0.8.0 to version 0.9.0.
10
10
* Upgrade to Spring Boot 3.5.0.
11
11
* `StubFactory` contract changes: the "supports" method is now a static method (it is called before an instance is created).
12
12
* Removed `GrpcClientFactoryCustomizer` in favour of `GrpcChannelBuilderCustomizer`.
13
+
* Added ability to filter interceptors in in-process gRPC clients.
14
+
* Added ability to filter global interceptors and service definitions - easy to do for `InProcessGrpcServer` and possible to do for `NettyGrpcServer` by registering a customizer.
Copy file name to clipboardExpand all lines: spring-grpc-spring-boot-autoconfigure/src/main/java/org/springframework/grpc/autoconfigure/client/ClientInterceptorsConfiguration.java
0 commit comments