FS2 (“Functional Streams for Scala”) is a purely functional, effectful abstraction for stream processing on the JVM. Built on Cats Effect, it enables compositional resource-safe streaming workflows with robust error handling, back-pressure, pull/push semantics, and support for concurrent and interruptible pipelines.

Features

  • Purely functional streams with Cats Effect integration
  • Safe resource acquisition and disposal using compile-time guarantees
  • Composable concurrent pipelines with back-pressure support
  • Pull/homeostasis and push models unified in a single API
  • Support for streaming connectors (e.g. HTTP via fs2-http, RabbitMQ, MQTT)
  • Designed for efficient Scala code on both Scala 2 & Scala 3

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow FS2

FS2 Web Site

Other Useful Business Software
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FS2!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Libraries

Registered

2025-08-04