-
I know that when we include Is there a config to turn off that server completely. I have a multi-profile Spring app and I will to run the gRPC server for a certain profile and not for the others. How can I do it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Even when I turn off all gRPC services including 'Health' and 'ServerReflection', the server will still be running. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
You could disable the related auto configuration:
grpc-spring/grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/autoconfigure/GrpcServerFactoryAutoConfiguration.java
Line 53 in 3afb9e4