Anagraph / hello-grpc-scala

Introduction to gRPC with ScalaPB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello-grpc-scala

Build Status

Welcome to hello-grpc-scala!

Requirements

curl -s "https://get.sdkman.io" | bash
source "${HOME}/.sdkman/bin/sdkman-init.sh"
sdk install scala 2.12.4

Build instruction

sbt assembly
scala -classpath demo/target/scala-2.12/hello-grpc-scala-demo-assembly-blog-hello-grpc-11-g3c41800-SNAPSHOT.jar io.ontherocks.hellogrpc.HelloWorldServer &
scala -classpath demo/target/scala-2.12/hello-grpc-scala-demo-assembly-blog-hello-grpc-11-g3c41800-SNAPSHOT.jar io.ontherocks.hellogrpc.HelloWorldClient
```

## Talks and slides

The demo code in this repo has been used in talks given at ScalaDays and ScalaSwarm (both 2017). A final, updated and corrected version of the slides can be found at [slides.com/petrabierleutgeb/hello-grpc-final](https://slides.com/petrabierleutgeb/hello-grpc-final).

## Blog

The corresponding blog post can be found here: [Hello gRPC! (with ScalaPB)](https://blog.codecentric.de/en/2017/01/hello-grpc-scalapb/)

## Contribution policy ##

Contributions via GitHub pull requests are gladly accepted from their original
author. Along with any pull requests, please state that the contribution is your
original work and that you license the work to the project under the project's
open source license. Whether or not you state this explicitly, by submitting any
copyrighted material via pull request, email, or other means you agree to
license the material under the project's open source license and warrant that
you have the legal authority to do so.

## License ##

This code is open source software licensed under the
[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0) license.

About

Introduction to gRPC with ScalaPB.


Languages

Language:Scala 100.0%