akka-streams
Installation
SKILL.md
Akka Streams and Pekko Streams (Scala)
Quick start
- Think twice before using Streams: prefer plain functions, even for I/O.
- Test stream components using
TestSource,TestSink, andTestProbefromakka-stream-testkit. - Always define supervision strategies for error handling; default behavior tears down the entire stream.
- Read
references/akka-streams.mdfor core concepts and patterns. - Read
references/best-practices.mdfor critical guidance on when NOT to use streams. - Read
references/testing.mdfor comprehensive testing examples.
When NOT to use Streams
- Don't model plain data transformations as stream operators; use regular functions instead.
- Don't use streams for general I/O; prefer plain functions or other abstractions.