Skip to content

michele-cervini/grpc-springboot-example

Repository files navigation

License

gRPC with SpringBoot

This is an example project of instrumenting gRPC with springboot.
It contains two service definitions and their respective implementation.

  • greeting.proto: request-response
  • chat.proto: bidirectional streaming

A client for the greeting service is provided and used by a simple rest controller.
A UI to test the chat service is provided in repo: michele-cervini/grpc-client-springboot-vaadin-example

How to run this example

Start the server

./gradlew :grpc-server:bootRun

Start the client

./gradlew :grpc-client:bootRun

About

Example using grpc with springboot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages