All Things Serverless: Kotlin, Kafka and Stream Processing
summary
Live demo builds a streaming pipeline: a WebSocket pulls Stack Overflow questions, Kotlin + Spring Boot parses JSON and pushes it to Confluent Cloud Kafka with JSON Schema in the schema registry, ksqlDB creates stateful aggregations stored as Kafka changelog topics (explode tags, count per tag), and a Google Cloud Run (Knative) web UI reads ksqlDB continuous queries over HTTP/2. Local development uses Testcontainers, scaffold and k9s; deployment uses Docker images and gcloud.
AI-written summary · about
chapters (11)
- 0:00Introduction and setup
- 1:56Defining serverless computing
- 9:55Portable serverless development
- 15:33Demo overview and architecture
- 24:04Capturing data to Kafka
- 27:40Kafka Streams vs ksqlDB
- 32:40Stateful stream processing with ksqlDB
- 38:51Cost and scalability of serverless
- 41:54Deploying the web UI to Cloud Run
- 46:27Recap and key takeaways
- 48:52Q&A and closing
