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
Copy file name to clipboardExpand all lines: samples/grpc-client/README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,14 +18,18 @@ $ ./mvnw spring-boot:run
18
18
message: "Hello ==> Alien"
19
19
```
20
20
21
-
You will need to set the property `launched.grpc.port` to the port the server is running on.
22
-
If the server is running on port 9090, the property can be set using an environment variable.
23
-
For example: `export LAUNCHED_GRPC_PORT=9090`.
21
+
This sample app is only a gRPC client but still requires a running gRPC server in a separate process.
24
22
The `grpc-server` sample can be used for the server.
25
23
26
-
You can also build and run the application as a native image using GraalVM, in the normal way for a Spring Boot application. E.g:
24
+
If the server is not running on the default port `9090` then you will need to set the `launched.grpc.port` property to the port the server is running on.
25
+
The property can be set via an environment variable, for example:
26
+
```
27
+
export LAUNCHED_GRPC_PORT=9090
28
+
```
29
+
30
+
You can also build and run the application as a native image using GraalVM, for example:
0 commit comments