SlideShare a Scribd company logo
akka streams
Reactive Integrations with
that just work™
Johan Andrén
Scala Usergroup Stockholm 2016-10-18
Johan Andrén
Akka Team
Stockholm Scala User Group
Make building powerful concurrent &
distributed applications simple.
Akka is a toolkit and runtime
for building highly concurrent,
distributed, and resilient
message-driven applications
on the JVM
Actors – simple & high performance concurrency
Cluster / Remoting – location transparency, resilience
Cluster tools – and more prepackaged patterns
Streams – back-pressured stream processing
Persistence – Event Sourcing
HTTP – complete, fully async and reactive HTTP Server
Official Kafka, Cassandra, DynamoDB integrations, tons
more in the community
Complete Java & Scala APIs for all features
What’s in the toolkit?
“Stream”has many meanings…
akka streams
Asynchronous back pressured stream processing
Source Sink
Flow
akka streams
Asynchronous back pressured stream processing
Source Sink
(possible)
asynchronous
boundaries
Flow
akka streams
Asynchronous back pressured stream processing
Source Sink
10 msg/s 1 msg/s
OutOfMemoryError!!
Flow
akka streams
Asynchronous back pressured stream processing
Source Sink
10 msg/s 1 msg/s
hand me 3 morehand me 3 more
1 msg/s Flow
akka streams
Not only linear streams
Source
SinkFlow
Source
Sink
Flow
Flow
Reactive Streams
Reactive Streams is an initiative to provide a standard for
asynchronous stream processing with non-blocking back
pressure. This encompasses efforts aimed at runtime
environments (JVM and JavaScript) as well as network
protocols
http://www.reactive-streams.org
Part of JDK 9
java.util.concurrent.Flow
Reactive Streams
RS Library A RS library B
async
boundary
Reactive Streams
RS Library A RS library B
async
boundary
Make building powerful concurrent &
distributed applications simple.
The API
Akka Streams
Complete and awesome
Java and Scala APIs
(Just like everything in Akka)
Akka Streams in 20 seconds:
val source: Source[Int, NotUsed] =

Source(0 to 200000)



val flow: Flow[Int, String, NotUsed] =

Flow[Int].map(_.toString)



val sink: Sink[String, Future[Done]] =

Sink.foreach(println)



val runnableGraph =
source.via(flow).to(sink)



runnableGraph.run()
Akka Streams in 20 seconds:
source.via(flow).to(sink)

Source[Int, NotUsed]
Flow[Int, String, NotUsed]
Sink[String, Future[Done]]
Materialization
Gears from GeeCON.org,(it’s an awesome conf)
What is “materialization” really?
What is “materialization” really?
What is “materialization” really?
What is “materialization” really?
AlpakkaA community for Streams connectors
http://blog.akka.io/integrations/2016/08/23/intro-alpakka
Alpakka – a community for Stream connectors
Threading & Concurrency in Akka Streams Explained (part I)
Mastering GraphStages (part I, Introduction)
Akka Streams Integration, codename Alpakka
A gentle introduction to building Sinks and Sources using GraphStage APIs
(Mastering GraphStages, Part II)
Writing Akka Streams Connectors for existing APIs
Flow control at the boundary of Akka Streams and a data provider
Akka Streams Kafka 0.11
Alpakka – a community for Stream connectors
Existing examples:
MQTT
AMQP
Streaming HTTP
Streaming TCP
Streaming FileIO
Cassandra Queries
“Reactive Kafka” (akka-stream-kafka)
S3, SQS & other Amazon APIs
Streaming JSON
Streaming XML
…
Alpakka – a community for Stream connectors
Demo
KafkaSink
FileTailSource
Kafka
Bytes =>
Lines
Alpakka – a community for Stream connectors
Demo
Kafka
parse line
window
last 10
Find
hacker
KafkaSource
Sound the
alarm!
Alpakka – a community for Stream connectors
Kafka Stream Stream
Stream
Stream
cluster
Akka Streams & HTTP
streams
& HTTP
Akka Streams / HTTP
Quiz time!
Akka Streams / HTTP
recv buffer
send buffer
🚚
🚚
🚚
🚚
🚚
🚚
🚚
Akka Streams / HTTP
recv buffer
send buffer
🚚
🚚
🚚
🚚
🚚
🚚
🚚
🚚
🚚
🚚
🚑
Streaming in Akka HTTP
http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala
“Framed entity streaming”
http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html
HttpServer as a:
Flow[HttpRequest, HttpResponse]
Streaming in Akka HTTP
HttpServer as a:
Flow[HttpRequest, HttpResponse]
HTTP Entity as a:
Source[ByteString, _]
http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala
“Framed entity streaming”
http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html
Streaming in Akka HTTP
HttpServer as a:
Flow[HttpRequest, HttpResponse]
HTTP Entity as a:
Source[ByteString, _]
Websocket connection as a:
Flow[ws.Message, ws.Message]
http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala
“Framed entity streaming”
http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html
Streaming from Akka HTTP
send buffer
🚚
🚚
OSApp
EntrySource
Json =>
Bytes
Entry =>
Json
TcpSink
Streaming from Akka HTTP
send buffer
🚚
🚚
🚚
OSApp
EntrySource
Json =>
Bytes
Entry =>
Json
TcpSink
🚚
🚚
Streaming from Akka HTTP
send buffer
🚚
🚚
🚚
OSApp
EntrySource
Json =>
Bytes
Entry =>
Json
TcpSink
🚚
🚚
No demand from TCP
=
No demand upstream
=
Source won’t read log
=>
Bounded memory
stream processing!
Demo
Akka ❤ contributions
Easy to contribute tickets:
https://github.com/akka/akka/issues?q=is%3Aissue+is%3Aopen+label%3Aeasy-to-contribute
https://github.com/akka/akka/issues?q=is%3Aissue+is%3Aopen+label%3A%22nice-to-have+%28low-prio%29%22
Akka Stream Contrib
https://github.com/akka/akka-stream-contrib
Mailing list:
https://groups.google.com/group/akka-user
Public chat rooms:
http://gitter.im/akka/dev developing Akka
http://gitter.im/akka/akka using Akka
Thanks for listening!
@apnylle
johan.andren@lightbend.com
Sample sources
https://github.com/johanandren/akka-stream-samples/tree/scala-stockholm-2016-10

More Related Content

What's hot (20)

PDF
Akka streams
mircodotta
 
PDF
Reactive streams processing using Akka Streams
Johan Andrén
 
PDF
Journey into Reactive Streams and Akka Streams
Kevin Webber
 
PDF
Reactive Stream Processing with Akka Streams
Konrad Malawski
 
PDF
Reactive Streams / Akka Streams - GeeCON Prague 2014
Konrad Malawski
 
PDF
Reactive stream processing using Akka streams
Johan Andrén
 
PDF
A dive into akka streams: from the basics to a real-world scenario
Gioia Ballin
 
PDF
2014 akka-streams-tokyo-japanese
Konrad Malawski
 
PDF
Reactive Applications in Java
Alexander Mrynskyi
 
PDF
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
PDF
Akka-chan's Survival Guide for the Streaming World
Konrad Malawski
 
PDF
Fresh from the Oven (04.2015): Experimental Akka Typed and Akka Streams
Konrad Malawski
 
PDF
[Tokyo Scala User Group] Akka Streams & Reactive Streams (0.7)
Konrad Malawski
 
PDF
Introduction to akka actors with java 8
Johan Andrén
 
PDF
Reactive integrations with Akka Streams
Konrad Malawski
 
PDF
Next generation actors with Akka
Johan Andrén
 
PDF
Networks and Types - the Future of Akka @ ScalaDays NYC 2018
Konrad Malawski
 
PDF
Async - react, don't wait - PingConf
Johan Andrén
 
PPTX
Asynchronous Orchestration DSL on squbs
Anil Gursel
 
PDF
Buiilding reactive distributed systems with Akka
Johan Andrén
 
Akka streams
mircodotta
 
Reactive streams processing using Akka Streams
Johan Andrén
 
Journey into Reactive Streams and Akka Streams
Kevin Webber
 
Reactive Stream Processing with Akka Streams
Konrad Malawski
 
Reactive Streams / Akka Streams - GeeCON Prague 2014
Konrad Malawski
 
Reactive stream processing using Akka streams
Johan Andrén
 
A dive into akka streams: from the basics to a real-world scenario
Gioia Ballin
 
2014 akka-streams-tokyo-japanese
Konrad Malawski
 
Reactive Applications in Java
Alexander Mrynskyi
 
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
Akka-chan's Survival Guide for the Streaming World
Konrad Malawski
 
Fresh from the Oven (04.2015): Experimental Akka Typed and Akka Streams
Konrad Malawski
 
[Tokyo Scala User Group] Akka Streams & Reactive Streams (0.7)
Konrad Malawski
 
Introduction to akka actors with java 8
Johan Andrén
 
Reactive integrations with Akka Streams
Konrad Malawski
 
Next generation actors with Akka
Johan Andrén
 
Networks and Types - the Future of Akka @ ScalaDays NYC 2018
Konrad Malawski
 
Async - react, don't wait - PingConf
Johan Andrén
 
Asynchronous Orchestration DSL on squbs
Anil Gursel
 
Buiilding reactive distributed systems with Akka
Johan Andrén
 

Similar to Scala usergroup stockholm - reactive integrations with akka streams (20)

PDF
Exploring Reactive Integrations With Akka Streams, Alpakka And Apache Kafka
Lightbend
 
PDF
Let the alpakka pull your stream
Enno Runne
 
PDF
Akka streams - Umeå java usergroup
Johan Andrén
 
PPTX
Alpakka - Connecting Kafka and ElasticSearch to Akka Streams
Knoldus Inc.
 
PDF
Reactive Streams, j.u.concurrent & Beyond!
Konrad Malawski
 
PDF
Sigmoid akka stream
Sigmoid
 
PDF
Building a Reactive System with Akka - Workshop @ O'Reilly SAConf NYC
Konrad Malawski
 
PPTX
ReactiveStream-meetup-Jan102015ppt
Rahul Kumar
 
PDF
Akka Streams
Diego Pacheco
 
PDF
Akka Revealed: A JVM Architect's Journey From Resilient Actors To Scalable Cl...
Lightbend
 
PPTX
Reactive Streams - László van den Hoek
RubiX BV
 
PPTX
A Deeper Look Into Reactive Streams with Akka Streams 1.0 and Slick 3.0
Legacy Typesafe (now Lightbend)
 
ODP
Introduction to Akka Streams [Part-I]
Knoldus Inc.
 
PDF
Alpakka:Intergating Akka-Streams with different technology
Knoldus Inc.
 
PDF
Pakk Your Alpakka: Reactive Streams Integrations For AWS, Azure, & Google Cloud
Lightbend
 
PDF
Webinar Alpakka 2018-08-16
Enno Runne
 
PDF
Akka stream and Akka CQRS
Milan Das
 
PPTX
Reducing Microservice Complexity with Kafka and Reactive Streams
jimriecken
 
PPTX
Lessons Learned From PayPal: Implementing Back-Pressure With Akka Streams And...
Lightbend
 
PDF
Reactive Streams, j.u.concurrent, & Beyond!
C4Media
 
Exploring Reactive Integrations With Akka Streams, Alpakka And Apache Kafka
Lightbend
 
Let the alpakka pull your stream
Enno Runne
 
Akka streams - Umeå java usergroup
Johan Andrén
 
Alpakka - Connecting Kafka and ElasticSearch to Akka Streams
Knoldus Inc.
 
Reactive Streams, j.u.concurrent & Beyond!
Konrad Malawski
 
Sigmoid akka stream
Sigmoid
 
Building a Reactive System with Akka - Workshop @ O'Reilly SAConf NYC
Konrad Malawski
 
ReactiveStream-meetup-Jan102015ppt
Rahul Kumar
 
Akka Streams
Diego Pacheco
 
Akka Revealed: A JVM Architect's Journey From Resilient Actors To Scalable Cl...
Lightbend
 
Reactive Streams - László van den Hoek
RubiX BV
 
A Deeper Look Into Reactive Streams with Akka Streams 1.0 and Slick 3.0
Legacy Typesafe (now Lightbend)
 
Introduction to Akka Streams [Part-I]
Knoldus Inc.
 
Alpakka:Intergating Akka-Streams with different technology
Knoldus Inc.
 
Pakk Your Alpakka: Reactive Streams Integrations For AWS, Azure, & Google Cloud
Lightbend
 
Webinar Alpakka 2018-08-16
Enno Runne
 
Akka stream and Akka CQRS
Milan Das
 
Reducing Microservice Complexity with Kafka and Reactive Streams
jimriecken
 
Lessons Learned From PayPal: Implementing Back-Pressure With Akka Streams And...
Lightbend
 
Reactive Streams, j.u.concurrent, & Beyond!
C4Media
 
Ad

More from Johan Andrén (11)

PDF
Next generation message driven systems with Akka
Johan Andrén
 
PDF
Next generation message driven systems with Akka
Johan Andrén
 
PDF
Networks and types - the future of Akka
Johan Andrén
 
PDF
Building reactive distributed systems with Akka
Johan Andrén
 
PDF
Scala frukostseminarium
Johan Andrén
 
PDF
Introduction to Akka
Johan Andrén
 
PDF
Async – react, don't wait
Johan Andrén
 
PDF
Akka frukostseminarium
Johan Andrén
 
PDF
Macros and reflection in scala 2.10
Johan Andrén
 
PDF
Introduction to Scala
Johan Andrén
 
PDF
Duchess scala-2012
Johan Andrén
 
Next generation message driven systems with Akka
Johan Andrén
 
Next generation message driven systems with Akka
Johan Andrén
 
Networks and types - the future of Akka
Johan Andrén
 
Building reactive distributed systems with Akka
Johan Andrén
 
Scala frukostseminarium
Johan Andrén
 
Introduction to Akka
Johan Andrén
 
Async – react, don't wait
Johan Andrén
 
Akka frukostseminarium
Johan Andrén
 
Macros and reflection in scala 2.10
Johan Andrén
 
Introduction to Scala
Johan Andrén
 
Duchess scala-2012
Johan Andrén
 
Ad

Recently uploaded (20)

PDF
Blood pressure (3).pdfbdbsbsbhshshshhdhdhshshs
hernandezemma379
 
PDF
Business Automation Solution with Excel 1.1.pdf
Vivek Kedia
 
PDF
Loading Data into Snowflake (Bulk & Stream)
Accentfuture
 
PPTX
办理学历认证InformaticsLetter新加坡英华美学院毕业证书,Informatics成绩单
Taqyea
 
PPTX
Presentation.pptx hhgihyugyygyijguuffddfffffff
abhiruppal2007
 
PPTX
Artificial intelligence Presentation1.pptx
SaritaMahajan5
 
PDF
TESDA License NC II PC Operations TESDA, Office Productivity
MELJUN CORTES
 
PPTX
MENU-DRIVEN PROGRAM ON ARUNACHAL PRADESH.pptx
manvi200807
 
PDF
2025 Global Data Summit - FOM with AI.pdf
Marco Wobben
 
PDF
Orchestrating Data Workloads With Airflow.pdf
ssuserae5511
 
PPTX
03_Ariane BERCKMOES_Ethias.pptx_AIBarometer_release_event
FinTech Belgium
 
PDF
A GraphRAG approach for Energy Efficiency Q&A
Marco Brambilla
 
PPTX
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
PPTX
Generative AI Boost Data Governance and Quality- Tejasvi Addagada
Tejasvi Addagada
 
PDF
SQL for Accountants and Finance Managers
ysmaelreyes
 
PPTX
01_Nico Vincent_Sailpeak.pptx_AI_Barometer_2025
FinTech Belgium
 
PPTX
microservices-with-container-apps-dapr.pptx
vjay22
 
PPTX
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
PDF
Business implication of Artificial Intelligence.pdf
VishalChugh12
 
PPTX
SHREYAS25 INTERN-I,II,III PPT (1).pptx pre
swapnilherage
 
Blood pressure (3).pdfbdbsbsbhshshshhdhdhshshs
hernandezemma379
 
Business Automation Solution with Excel 1.1.pdf
Vivek Kedia
 
Loading Data into Snowflake (Bulk & Stream)
Accentfuture
 
办理学历认证InformaticsLetter新加坡英华美学院毕业证书,Informatics成绩单
Taqyea
 
Presentation.pptx hhgihyugyygyijguuffddfffffff
abhiruppal2007
 
Artificial intelligence Presentation1.pptx
SaritaMahajan5
 
TESDA License NC II PC Operations TESDA, Office Productivity
MELJUN CORTES
 
MENU-DRIVEN PROGRAM ON ARUNACHAL PRADESH.pptx
manvi200807
 
2025 Global Data Summit - FOM with AI.pdf
Marco Wobben
 
Orchestrating Data Workloads With Airflow.pdf
ssuserae5511
 
03_Ariane BERCKMOES_Ethias.pptx_AIBarometer_release_event
FinTech Belgium
 
A GraphRAG approach for Energy Efficiency Q&A
Marco Brambilla
 
thid ppt defines the ich guridlens and gives the information about the ICH gu...
shaistabegum14
 
Generative AI Boost Data Governance and Quality- Tejasvi Addagada
Tejasvi Addagada
 
SQL for Accountants and Finance Managers
ysmaelreyes
 
01_Nico Vincent_Sailpeak.pptx_AI_Barometer_2025
FinTech Belgium
 
microservices-with-container-apps-dapr.pptx
vjay22
 
05_Jelle Baats_Tekst.pptx_AI_Barometer_Release_Event
FinTech Belgium
 
Business implication of Artificial Intelligence.pdf
VishalChugh12
 
SHREYAS25 INTERN-I,II,III PPT (1).pptx pre
swapnilherage
 

Scala usergroup stockholm - reactive integrations with akka streams

  • 1. akka streams Reactive Integrations with that just work™ Johan Andrén Scala Usergroup Stockholm 2016-10-18
  • 3. Make building powerful concurrent & distributed applications simple. Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM
  • 4. Actors – simple & high performance concurrency Cluster / Remoting – location transparency, resilience Cluster tools – and more prepackaged patterns Streams – back-pressured stream processing Persistence – Event Sourcing HTTP – complete, fully async and reactive HTTP Server Official Kafka, Cassandra, DynamoDB integrations, tons more in the community Complete Java & Scala APIs for all features What’s in the toolkit?
  • 6. akka streams Asynchronous back pressured stream processing Source Sink Flow
  • 7. akka streams Asynchronous back pressured stream processing Source Sink (possible) asynchronous boundaries Flow
  • 8. akka streams Asynchronous back pressured stream processing Source Sink 10 msg/s 1 msg/s OutOfMemoryError!! Flow
  • 9. akka streams Asynchronous back pressured stream processing Source Sink 10 msg/s 1 msg/s hand me 3 morehand me 3 more 1 msg/s Flow
  • 10. akka streams Not only linear streams Source SinkFlow Source Sink Flow Flow
  • 11. Reactive Streams Reactive Streams is an initiative to provide a standard for asynchronous stream processing with non-blocking back pressure. This encompasses efforts aimed at runtime environments (JVM and JavaScript) as well as network protocols http://www.reactive-streams.org
  • 12. Part of JDK 9 java.util.concurrent.Flow
  • 13. Reactive Streams RS Library A RS library B async boundary
  • 14. Reactive Streams RS Library A RS library B async boundary Make building powerful concurrent & distributed applications simple.
  • 15. The API Akka Streams Complete and awesome Java and Scala APIs (Just like everything in Akka)
  • 16. Akka Streams in 20 seconds: val source: Source[Int, NotUsed] =
 Source(0 to 200000)
 
 val flow: Flow[Int, String, NotUsed] =
 Flow[Int].map(_.toString)
 
 val sink: Sink[String, Future[Done]] =
 Sink.foreach(println)
 
 val runnableGraph = source.via(flow).to(sink)
 
 runnableGraph.run()
  • 17. Akka Streams in 20 seconds: source.via(flow).to(sink)
 Source[Int, NotUsed] Flow[Int, String, NotUsed] Sink[String, Future[Done]]
  • 23. AlpakkaA community for Streams connectors http://blog.akka.io/integrations/2016/08/23/intro-alpakka
  • 24. Alpakka – a community for Stream connectors Threading & Concurrency in Akka Streams Explained (part I) Mastering GraphStages (part I, Introduction) Akka Streams Integration, codename Alpakka A gentle introduction to building Sinks and Sources using GraphStage APIs (Mastering GraphStages, Part II) Writing Akka Streams Connectors for existing APIs Flow control at the boundary of Akka Streams and a data provider Akka Streams Kafka 0.11
  • 25. Alpakka – a community for Stream connectors Existing examples: MQTT AMQP Streaming HTTP Streaming TCP Streaming FileIO Cassandra Queries “Reactive Kafka” (akka-stream-kafka) S3, SQS & other Amazon APIs Streaming JSON Streaming XML …
  • 26. Alpakka – a community for Stream connectors Demo KafkaSink FileTailSource Kafka Bytes => Lines
  • 27. Alpakka – a community for Stream connectors Demo Kafka parse line window last 10 Find hacker KafkaSource Sound the alarm!
  • 28. Alpakka – a community for Stream connectors Kafka Stream Stream Stream Stream cluster
  • 29. Akka Streams & HTTP streams & HTTP
  • 30. Akka Streams / HTTP Quiz time!
  • 31. Akka Streams / HTTP recv buffer send buffer 🚚 🚚 🚚 🚚 🚚 🚚 🚚
  • 32. Akka Streams / HTTP recv buffer send buffer 🚚 🚚 🚚 🚚 🚚 🚚 🚚 🚚 🚚 🚚 🚑
  • 33. Streaming in Akka HTTP http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala “Framed entity streaming” http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html HttpServer as a: Flow[HttpRequest, HttpResponse]
  • 34. Streaming in Akka HTTP HttpServer as a: Flow[HttpRequest, HttpResponse] HTTP Entity as a: Source[ByteString, _] http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala “Framed entity streaming” http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html
  • 35. Streaming in Akka HTTP HttpServer as a: Flow[HttpRequest, HttpResponse] HTTP Entity as a: Source[ByteString, _] Websocket connection as a: Flow[ws.Message, ws.Message] http://doc.akka.io/docs/akka/2.4/scala/stream/stream-customize.html#graphstage-scala “Framed entity streaming” http://doc.akka.io/docs/akka/2.4/java/http/routing-dsl/source-streaming-support.html
  • 36. Streaming from Akka HTTP send buffer 🚚 🚚 OSApp EntrySource Json => Bytes Entry => Json TcpSink
  • 37. Streaming from Akka HTTP send buffer 🚚 🚚 🚚 OSApp EntrySource Json => Bytes Entry => Json TcpSink 🚚 🚚
  • 38. Streaming from Akka HTTP send buffer 🚚 🚚 🚚 OSApp EntrySource Json => Bytes Entry => Json TcpSink 🚚 🚚 No demand from TCP = No demand upstream = Source won’t read log => Bounded memory stream processing! Demo
  • 39. Akka ❤ contributions Easy to contribute tickets: https://github.com/akka/akka/issues?q=is%3Aissue+is%3Aopen+label%3Aeasy-to-contribute https://github.com/akka/akka/issues?q=is%3Aissue+is%3Aopen+label%3A%22nice-to-have+%28low-prio%29%22 Akka Stream Contrib https://github.com/akka/akka-stream-contrib Mailing list: https://groups.google.com/group/akka-user Public chat rooms: http://gitter.im/akka/dev developing Akka http://gitter.im/akka/akka using Akka
  • 40. Thanks for listening! @apnylle [email protected] Sample sources https://github.com/johanandren/akka-stream-samples/tree/scala-stockholm-2016-10