Setup¶
This is the Java Version of the workshop. A Scala Version of the workshop is here
Pre-Requisites¶
Getting the Code¶
The code is on GitHub, and checkout the initial branch:
git clone git@github.com:retroryan/grpc-java-chatroom.git
git checkout initial
IntelliJ Setup¶
You need to add the generted gRPC source files to your project.
1 - After compiling the project verify the protobuf generated sources are under target/generated-sources/protobuf.
2 - Then under the project settings update the auth-service project.
3 - Click on sources and then on the target path navigate down to target/generated-sources/protobuf.
4 - Add both grpc-java and java as source folders.
5 - Do the same thing for chat-service project.