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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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