Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 780 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 780 Bytes

About

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

How to Run

Running Java Code

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.

Running Go Code

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.