grpc-ecosystem / grpc-spring

Spring Boot starter module for gRPC framework.

Home Page:https://grpc-ecosystem.github.io/grpc-spring/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable grpc-spring-boot-starter?

youyinnn opened this issue · comments

commented

I have the grpc-spring-boot-starter in the dependency. Therefore, it starts the grpc server automatically.

But I don't want it to be like that by default. The scenario is I will start the grpc in any of my unit tests. And my unit test is parallel.
Therefore, it throws the Failed to bind to address error.

Is there any grpc.server.enabled = false configuration?

commented

I found the solution in: #419.