~/talk

How (Not) to Use Reactive Streams in Java 9+

Talkat JDD 2018 · 2018-10-08..10-09· [java, reactive-programming]
slides:none on file

Java 9+ exposes java.util.concurrent.Flow as SPI interfaces, not ready-made stream implementations, and a naïve iterator-backed Publisher fails the Reactive Streams TCK tests (15 run, only one initially passes). Building a correct Publisher requires handling Subscription request semantics, atomic termination, avoiding synchronous unbounded recursion (stack overflow) and long-demand overflow; fixes pass many TCK cases but corner cases remain. Integration demo wires Reactor → Akka Streams processor → RxJava subscriber via the JDK interfaces and it works.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20Reactive streams basics
  3. 11:05Naive publisher implementation
  4. 17:07Fixing publisher with TCK
  5. 21:35Publisher pitfalls
  6. 24:50JDK reactive streams as SPI
  7. 35:23Cross-library integration demo
  8. 39:17Key takeaways and resources
~/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.