Bootiful Stream Processing with Spring and Kafka
summary
Live-codes a Spring Boot microservice that uses Spring Cloud Stream as a functional Producer (Supplier) and Consumer, producing Chuck Norris facts into a cloud Kafka cluster and wiring a Kafka Streams pipeline that tokenizes facts, groups by word and emits a word-count topic (example: “roundhouse” shows 45 occurrences). Stores counts in a local state store and exposes them via a REST interactive-query endpoint, then builds a container image with Buildpacks and deploys to Kubernetes — the demo runs end-to-end on stage.
AI-written summary · about
chapters (19)
- 0:00Introduction and setup
- 1:53Java streams and Kafka
- 3:18Demo overview
- 5:03Project initialization
- 8:16Generating Chuck Norris facts
- 10:06Producing data to Kafka
- 12:38Setting up Kafka cluster
- 15:45Verifying Kafka producer
- 17:28Consuming data from Kafka
- 21:24Processing data with Kafka Streams
- 25:18Implementing word count
- 31:22Stateful stream processing
- 34:38Exposing results via REST API
- 38:54Containerizing the application
- 41:05Building Docker image with Buildpacks
- 42:51Kubernetes deployment setup
- 45:40Deploying to Kubernetes
- 49:56Accessing the application
- 51:00Q&A and closing
