Building microservices with Kotlin and gRPC
summary
Shows a working Kotlin microservice stack using gRPC and Protocol Buffers: an HTTP/2, binary API with bi-directional streaming implemented as a Death Star demo that destroys and regenerates planets. Code uses Kotlin coroutines and channels to replace Java stream observers and callback hell, adds interceptors to mutate requests and map business errors to gRPC statuses, and runs tests with in-process Server/Channel for unit and integration checks. Demo proves it runs and scores updates reflect the interceptors.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:07Microservices Rock!
- 6:32HTTP protocol evolution
- 14:57Task for this session
- 30:54What about custom exceptions?
- 32:53Unit testing
- 34:27Testing summary
related talks
42mBuilding Microservices with Kotlin and gRPC
46mBuilding Microservices with Kotlin and gRPC
47mRediscovering gRPC with Kotlin coroutines
34mPainless Microservices with Kotlin
59mBuilding Microservices w/gRPC & Kubernetes: A practical intro
49mBuilding fast microservices with binary protocol - introduction to gRPC
46mIntroduction to gRPC
46mMicroservices Kotlin Benchmark: coroutines, virtual threads... the Match!
