A simple command line chat server written using both bidirectional & server streaming gRPC.
Build the parent project. From the repo root, run
./mvnw clean package
Start the server
java -jar grpc-kotlin-example-chatserver/target/grpc-kotlin-example-chatserver.jar server
From another shell, start a bidirectional streaming client
java -jar grpc-kotlin-example-chatserver/target/grpc-kotlin-example-chatserver.jar client
From the third shell, start a server streaming client
java -jar grpc-kotlin-example-chatserver/target/grpc-kotlin-example-chatserver.jar clientSS
Big thanks to Björn Hegerfors and Emilio Del Tessandoro for putting together this example!