A Practical Introduction to Akka Streams
summary
Live coding shows a Scala pipeline built with Akka Streams that reads gzipped semicolon‑separated files, frames lines, parses into valid/invalid readings, groups pairs by ID, computes averages (uses -1 when both invalid), and writes results to Cassandra with configurable parallelism for file reads and DB writes. Materialization uses the actor materializer, a resuming logging decider keeps the stream running on errors, the Streams TestKit verifies the flow, and a demo run finishes in under eight seconds.
AI-written summary · about
chapters (12)
- 0:00Introduction and setup
- 3:45What are Akka Streams
- 10:50Parsing single lines
- 14:43Splitting files into lines
- 17:51Parsing files into readings
- 25:34Computing averages
- 31:42Storing in Cassandra
- 36:02Importing single files
- 40:19Importing directories
- 45:44Error handling strategy
- 52:00Testing with Akka Streams
- 1:03:22Alternatives and resources
related talks
49mA Practical Introduction to Akka Streams
46mTame Your Data with Akka Streams
42mLearn you Akka Streams for great Good!
48mStreaming all the things with Akka Streams
30mLEARN YOU AKKA STREAMS FOR GREAT GOOD!
43mReactive Integration with Akka Streams and Alpakka
48mA Practical Introduction to Akka Streams
28mStreams on top of Scala
