Skip to content

bygui86/java-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-grpc

gRPC example in Java

Services


Run

  1. Start hello service (server)

    cd hello-service
    mvnw clean spring-boot:run
  2. In another shell, start greeting service (client)

    cd greeting-service
    mvnw clean spring-boot:run

Polyglot test

This repo can be used for a polyglot test together with go-grpc

Go client --> Java server

  1. Start server (hello-service)

    cd java-grpc/hello-service
    mvnw clean spring-boot:run
  2. In another shell, start client (greeting-service)

    cd go-grpc/greeting-service
    GO111MODULE=on go run main.go

Java client --> Go server

  1. Start server (hello-service)

    cd go-grpc/hello-service
    GO111MODULE=on go run main.go
  2. In another shell, start client (greeting-service)

    cd java-grpc/greeting-service
    mvnw clean spring-boot:run

Links

About

gRPC example in Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages