This repo contains Go and Java code to simulate GRPC communication between service. The Java project will act as a GRPC service accepting request from GRPC client written in Go
1. Run./gradlew build
for Unix or gradlew build
for Windows to fetch dependencies.2. Run
./gradlew run
for Unix or gradlew build
for Windows to start the server.3. The server will run on localhost port 8090 by default. 1. Run
go build
to get dependencies.2. Run
go run main.go
to run the client. The client will call getItemById
and getItemsByName
and then it will exit the process.