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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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