File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,15 @@ dependencies {
2828* Start by https://github.com/google/protobuf-gradle-plugin[generating] stub and server interface(s) from your `.proto` file(s).
2929* Annotate your server interface implementation(s) with `@org.lognet.springboot.grpc.GRpcService`
3030* Optionally configure the server port in your `application.yml/properties`. Default port is `6565`.
31- * A random port can be defined by setting the port to `0`. The actual port being used can then be retrieved from the property `local.grpc.port`, or
32- using `@LocalRunningGrpcPort` annotation which will inject the running port (explicitly configured or randomly selected)
3331
3432[source,yaml]
3533----
3634 grpc:
3735 port: 6565
3836----
37+ [NOTE]
38+ A random port can be defined by setting the port to `0`. The actual port being used can then be retrieved from the property `local.grpc.port`, or
39+ using `@LocalRunningGrpcPort` annotation which will inject the running port (explicitly configured or randomly selected)
3940
4041The starter supports also the `in-process server`, which should be used for testing purposes :
4142
You can’t perform that action at this time.
0 commit comments