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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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