~/talk

Learn you advanced Akka Streams for great Good!

Talkat Scala.IO 2016 · 2016-10-27..10-28· [reactive-programming]
slides:none on file

Builds a working Akka Streams SSE client that reconnects on failure using the Last-Event-ID header, showing live code. Uses Akka HTTP unmarshalling to a Source[ServerSentEvent], combinators like mapConcat, throttle, zip and merge, and the GraphDSL to create a cyclic graph for retries. Implements a custom GraphStage that materializes a Future[Option[ServerSentEvent]] (the last element). Demonstration compiles and repeatedly reconnects to the server, proving the approach works.

AI-written summary · about

  1. 0:00Intro
  2. 1:18Akka Streams
  3. 2:30Single String
  4. 3:51Source Repeat
  5. 6:12MapConcat
  6. 7:45Iterator
  7. 9:00materialized value
  8. 11:29Recap
  9. 12:38tuples
  10. 13:23server sent events
  11. 15:38linear flow
  12. 18:04step by step
  13. 22:20parallelism
  14. 23:18source signal
  15. 24:03restart
  16. 24:36header
  17. 26:45shape
  18. 29:30graph stage logic
  19. 30:25out handler
  20. 31:30push
  21. 32:34finish
  22. 32:57fail
  23. 33:25recovery
  24. 35:28handler
  25. 37:16tuple
  26. 37:34source
  27. 38:33unzip
  28. 39:17implicits
  29. 44:39docker logs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.