Closed
Description
The context
I have the server dependencies included in my project because I want to make some mock servers for some integration tests. However, in my actual application, I only need the client.
The question
When I start my application, I notice this log line:
method=createAndStartGrpcServer line=91 - gRPC Server started, listening on address: *, port: 9090
Is there a way to disable the server? I didn't see too much about the actual configuration properties in the documentation other than being able to change the port.
The application's environment
Which versions do you use?
- Spring (boot): 2.3.4
- grpc-java: 1.31.1
- grpc-spring-boot-starter: 2.10.1.LATEST
- java: version + architecture (64bit?) 64 bit java 11
- Other relevant libraries...