Alpakka connects Akka.NET Streams to messaging systems, cloud services and local data formats. Its connectors provide sources, flows and sinks that you compose with the rest of your stream: consume messages, transform records, publish results, process files or exchange SignalR messages.
Choose the packages your application needs. Each package README explains its APIs, configuration, defaults, client ownership, delivery semantics and limitations, with examples and commands for its tests. Packages built from current source include that README; older published releases may omit it.
Documentation · Running tests · Legacy package migrations
- Getting started
- Maintained packages
- Examples
- Build and test
- Compatibility and upgrades
- Repository layout
- Contributing
- Documentation and support
- License
-
Find your service or data format in the package catalog.
-
Install that connector in your application directory. For example, to parse or format CSV:
dotnet add package Akka.Streams.Csv
-
Follow the CSV package examples, or your chosen connector's README, to create and materialize a stream. Messaging connectors also explain how to configure the broker or SDK client they use.
If you are new to streams, start with the Akka.NET Streams introduction. Connector-specific acknowledgments, retries and buffering still matter: completing a stream does not universally mean that a remote peer has received or persisted every message.
The libraries retain their .NET Standard 2.0 and .NET 6.0 assets, except SignalR, which targets .NET 6.0. Test and sample hosts may use newer frameworks independently of the shipped libraries. Check a package README before combining SDKs: the SQS adapter uses AWS SDK v3, while SNS and Kinesis use v4.
Package READMEs contain focused usage examples. The repository also includes runnable distributed samples:
| Sample | Entry point | Resources |
|---|---|---|
| Azure Service Bus | ServiceBus.AppHost | Producer, consumer, Service Bus emulator and SQL companion |
| Azure Event Hubs | EventHub.AppHost | Producer, consumer, Event Hubs emulator and Blob checkpoint storage |
| SignalR | SignalR.AppHost | ASP.NET Core application |
Use the repository SDK to run an AppHost, for example:
dotnet run --project src/Azure/Examples/Simple/ServiceBus/ServiceBus.AppHost/ServiceBus.AppHost.csprojThe Azure emulator samples require Docker with Linux containers. Check the relevant package README and sample configuration before using an external service or supplying credentials.
To work on Alpakka itself, install the SDK selected by global.json, then run these commands from the repository root:
dotnet restore Alpakka.slnx
dotnet build Alpakka.slnx -c ReleaseRun the suite for the connector you are changing. A local CSV example is:
dotnet test src/Csv/Akka.Streams.Csv.Tests/Akka.Streams.Csv.Tests.csproj -c Release --framework net10.0The test guide lists every suite, Docker requirements, Windows coverage and the required package/consumer checks. Service fixtures own their containers or Aspire resources and discover their endpoints; those tests do not need a cloud account or separately installed broker. CSV, XML and filesystem suites exercise their local operations directly. SignalR tests use TestServer and Aspire-owned Kestrel without Docker.
Packages built from this revision require Akka.Streams 1.5.74 or later. Streams and TestKit package versions are aligned centrally.
The Akka.NET upgrade from the previous 1.5.60 minimum inherits upstream binary changes involving the RetrySupport.Retry overload with an int randomFactor and custom implementations of ISourceQueue<T>. See the unreleased compatibility notes before upgrading an existing application.
Changes follow extend-only design: preserve public signatures, shipped targets, wire formats, documented defaults and client ownership. Add overloads or new types for new behavior. A dependency upgrade also needs source, binary and behavior checks; a compatible-looking NuGet framework badge is not sufficient evidence.
Required checks compare against a released package, execute an unchanged consumer against the candidate, inspect the actual NuGet archive and compile its README examples. Integration coverage uses Aspire.Hosting.Testing or Testcontainers where a real service boundary is needed, with owned resources, discovered endpoints, bounded readiness and visible failures. CSV, XML and local filesystem tests use the actual local operations they exercise.
Deprecation guidance must identify a verified replacement and migration requirements. Keep published artifacts available; do not remove working APIs, add error-level obsolete attributes or silently change targets. See the package migration guide.
For an existing application, read release notes, the package README and the legacy migration guide before changing package IDs or SDK major versions. Retaining a library target does not extend an upstream SDK's support lifecycle. Dependency support and vulnerability limitations must remain visible even when behavioral checks pass.
| Path | Purpose |
|---|---|
| src | Connector libraries, their tests and samples |
| compatibility | Released-package consumer probes used by compatibility checks |
| docs | DocFX documentation, contributor guidance and migration guides |
| build-system | CI, package validation, code standards and documentation builds |
| Directory.Packages.props | Central NuGet package versions |
| global.json | Repository SDK version |
Follow the Akka.NET contribution guide and Alpakka's code standards. Keep changes focused, preserve useful existing assertions and add regression evidence for behavior changes. New service integration tests should use Aspire.Hosting.Testing or Testcontainers with owned resources and observable delivery or state assertions.
Use central package management for dependency changes and run the relevant connector's tests. Public APIs, library targets, defaults and ownership contracts require compatibility review; broader implementation redesign should be proposed separately.
- Published documentation and documentation sources
- Package migration guide for Channels, EventHub.V5 and SignalR.AspNetCore
- Release notes
- Report a bug or request a feature
For a bug report, include the connector and SDK versions, target framework, a small reproduction and the observed stream behavior. Remove connection strings, keys and other credentials from logs and examples.
Alpakka is licensed under Apache License 2.0.