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
This commit updates the code example in service filter section of
the docs how to filter out the "health service" and "reflection service"
which might be more useful (e.g. for the in-process server).
See #207
Signed-off-by: Chris Bono <[email protected]>
Copy file name to clipboardExpand all lines: spring-grpc-docs/src/main/antora/modules/ROOT/pages/server.adoc
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,15 @@ The easiest way to activate it is to simply add a Spring `@Service` annotation t
17
17
All available `BindableService` beans are bound to all running gRPC servers.
18
18
However, you can register a `ServerServiceDefinitionFilter` bean to decide which services are bound to which server factories.
19
19
20
-
The following example prevents the `my-unwanted-service` service from being applied to any servers created by the server factory that the filter is applied to.
20
+
The following example prevents the "health" and "reflection" service from being bound to the server created by the server factory that the filter is applied to (e.g. the `InProcessGrpcServerFactory`).
0 commit comments