This talk explores Stream Gatherers, a new feature in Java 24 that enhances Java's Stream API. Learn how Stream Gatherers provide a crucial extension point for intermediate operations in streams, addressing limitations of the original Stream API introduced in Java 8. Discover why the previous extension point of collectors wasn't sufficient for all data processing needs, and why parallel streams' limitation to ForkJoin pool made them impractical for IO operations. Understand how Stream Gatherers work, explore practical use cases, and learn techniques to optimize performance. Perfect for developers looking to leverage records and pattern matching in data-driven flows while moving toward a more functional programming style without side effects.
Overview
Syllabus
Hunting with Stream Gatherers - Piotr Przybył
Taught by
Devoxx