Introduction to gRPC with ScalaPB
summary
Quick, hands-on guide to using ScalaPB with gRPC: shows the sbt plugin and protoc setup, how generated Scala sources map to proto packages, and add sbt plugin and ScalaPB dependencies to enable codegen. Walks through concrete examples: unary calls returning Future, server-streaming, client-streaming and bi‑directional streaming using StreamObserver, plus blocking vs nonblocking stubs and Akka Streams integration. Explains ScalaPB customizations like protobuf wrappers for optional types and file/package options, and recommends keeping generated messages out of core models.
AI-written summary · about
chapters (16)
- 0:00Start
- 1:39In a nutshell
- 2:34Benefits: efficiency
- 3:56Benefits: usability
- 7:06Updating your build
- 10:21Generated Files
- 11:11Package/File options
- 11:56Primitive wrappers
- 12:37Default values
- 14:29Custom base traits
- 15:59Communication styles
- 26:38Server-side streaming
- 26:54Bi-directional streaming
- 32:41Sharing proto definitions
- 34:36Generated entities
- 37:14Credits








