Streaming all the things with Akka Streams
summary
Akka Streams implements Reactive Streams on the JVM and shows three concrete APIs: Source/Flow/Sink for linear pipelines, Graph DSL for arbitrary graphs, and the low‑level GraphStage API for custom stages. Examples include a Source emitting 0..20 million ints without holding them in memory, an HTTP endpoint that streams numbers with TCP backpressure propagating to the source, a WebSocket flow that batches up to 1000 messages or 1s then calls an async CompletionStage to write to a DB, and Alpakka connectors (Kafka, Cassandra, RabbitMQ, DynamoDB). The materializer fuses stages into an ActorSystem actor; the project has ~200 contributors.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:47What's in the toolkit?
- 3:35Reactive Streams timeline
- 10:22Akka Streams in -20 seconds
- 15:54Numbers as a service
- 18:11Back pressure over TCP
- 19:57A Amore useful example
- 23:33The tale of the two pancake chefs
- 24:29Rolands pipelined pancakes
- 27:00Patriks parallel pancakes
- 29:54Making pancakes together
- 30:26Built in stages
- 32:37GraphStage API
- 35:49A what about distributed reactive systems
- 37:01The community
related talks
30mLEARN YOU AKKA STREAMS FOR GREAT GOOD!
28mStreams on top of Scala
01h 07mA Practical Introduction to Akka Streams
31mSTREAM DRIVEN DEVELOPMENT - DESIGN YOUR DATA PIPELINE WITH AKKA STREAMS
54mHow I Learned to Stop Worrying & Love the Flow
46mTame Your Data with Akka Streams
01h 20mAkka Streams for Large Scale Data Processing
33mKafka Microservices with Kafka plus Akka and Kafka Streams
