Skip to content

sleepylee/sample-kotlin-grpc

Repository files navigation

Simple Sample Kotlin gRPC service

Very simple sample of a gRPC Kotlin service.

This samples is composed by two gRPC services (user and key value) and one client. The user service must get data from the key value service to provide all information about the user to a client.

Pre requirements

  • Java 8
  • Maven

About gRPC

Read here: https://developers.google.com/protocol-buffers/

Try it

Build

mvn clean install

Run key value service

mvn -pl kotlin-grpc-keyvalue-service exec:java

Run user service

mvn -pl kotlin-grpc-user-service exec:java

Run the client

mvn -pl kotlin-grpc-client exec:java

Origin fork from: @FlavioF/kotlin-grpc-sample

About

A simple implementation of grpc in kotlin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages