Examples are from kotlin-samples
Run Locally:
- In one shell / terminal window, start the server:
./mvnw compile exec:java -D"exec.mainClass"="io.grpc.examples.helloworld.HelloWorldServerKt"
- In another shell / terminal window, run the client:
./mvnw compile exec:java -D"exec.mainClass"="io.grpc.examples.helloworld.HelloWorldClientKt"
Uncomment the last lines in the HelloWorldClient to test the different service functionalities (streaming, bidirectional streaming)