grpc-scala-sample
translated from grpc java examples with ScalaPB (by xuwei-k)
ScalaPB
Protocol buffer compiler for Scala. (by scalapb)
grpc-scala-sample | ScalaPB | |
---|---|---|
1 | 3 | |
65 | 1,283 | |
- | 0.6% | |
3.7 | 9.0 | |
5 months ago | 6 days ago | |
Scala | Scala | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
grpc-scala-sample
Posts with mentions or reviews of grpc-scala-sample.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Need help with running a simple skeleton program of scala client
Stuck on this same issue. https://github.com/xuwei-k/grpc-scala-sample/issues/12
ScalaPB
Posts with mentions or reviews of ScalaPB.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-10.
-
Friction-less scala - Tell us what is causing friction in your day-to-day life with Scala
I've had great experience with ScalaPB and even better with fs2-grpc (which builds on top of ScalaPB).
-
Working with polymorphic data models in a REST API
One way I've solved this is to use Protobuf contracts to serialize json with ScalaPB. They have a way implementing oneof that keeps each object individual and separate. Even if you don't decide to use PB, you can take some inspiration from the implementation.
-
Scala 3.0 serialization
You could try out protocol buffers. Not sure how stable it is, but I noticed they have a Scala3 version of their runtime library. (Disclaimer: I have not tried it out myself)
What are some alternatives?
When comparing grpc-scala-sample and ScalaPB you can also consider the following projects:
gatling-grpc - A Gatling load test plugin for gRPC
scodec - Scala combinator library for working with binary data
konig-kontext - A globally shared, request scoped, context for JVM based gRPC microservices
ScalaBuff - the scala protocol buffers (protobuf) compiler
µPickle - uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala
Pickling
Scrooge - A Thrift parser/generator
Avro4s - Avro schema generation and serialization / deserialization for Scala
Chill - Scala extensions for the Kryo serialization library
validation
cats-effect - The pure asynchronous runtime for Scala
avro-codegen