![]() |
VOOZH | about |
dotnet add package Akka.Persistence.Query --version 1.5.57
NuGet\Install-Package Akka.Persistence.Query -Version 1.5.57
<PackageReference Include="Akka.Persistence.Query" Version="1.5.57" />
<PackageVersion Include="Akka.Persistence.Query" Version="1.5.57" />Directory.Packages.props
<PackageReference Include="Akka.Persistence.Query" />Project file
paket add Akka.Persistence.Query --version 1.5.57
#r "nuget: Akka.Persistence.Query, 1.5.57"
#:package Akka.Persistence.Query@1.5.57
#addin nuget:?package=Akka.Persistence.Query&version=1.5.57Install as a Cake Addin
#tool nuget:?package=Akka.Persistence.Query&version=1.5.57Install as a Cake Tool
Akka.NET is a .NET port of the popular Akka project from the Scala / Java community. We are an idiomatic .NET implementation of the actor model built on top of the .NET Common Language Runtime.
Akka.NET is a .NET Foundation project.
Akka.NET can be used in-process or inside large, distributed real-time systems; we support a wide variety of use cases.
Akka.NET can be used to solve the following types of problems:
locks or any other shared-memory synchronization mechanisms.You can start by taking the Akka.NET Bootcamp, but there are many other great learning resources for Akka.NET Online.
| Stage | Status | |
|---|---|---|
| NuGet Pack | 👁 Build Status |
|
| .NET Framework Unit Tests | 👁 Build Status |
|
| .NET Unit Tests (Windows) | 👁 Build Status |
|
| .NET Unit Tests (Linux) | 👁 Build Status |
|
| .NET MultiNode Tests (Windows) | 👁 Build Status |
|
| .NET MultiNode Tests (Linux) | 👁 Build Status |
|
| Docs | 👁 Build Status |
If you want to include Akka.NET in your project, you can install it directly from NuGet
To install Akka.NET Distributed Actor Framework, run the following command in the Package Manager Console
PM> Install-Package Akka.Hosting
Akka.Hosting includes the base Akka NuGet package and also provides an easy interface to integrate Akka.NET with the most-used parts of the Microsoft.Extensions ecosystem: Configuration, Logging, Hosting, and DependencyInjection. We encourage developers to adopt it.
And if you need F# support:
PM> Install-Package Akka.FSharp
To create your own Akka.NET projects using our templates (Akka.Templates), install them via the dotnet CLI:
dotnet new install "Akka.Templates::*"
This will make our templates available via dotnet new on the CLI and as new project templates inside any .NET IDE such as Visual Studio or JetBrains Rider. You can view the full list of templates included in our package here: https://github.com/akkadotnet/akkadotnet-templates#available-templates
Please see Building Akka.NET.
To access nightly Akka.NET builds, please see the instructions here.
If you need help getting started with Akka.NET, there's a number of great community resources online:
If you and your company are interested in getting professional Akka.NET support, you can contact Petabridge for dedicated Akka.NET support.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Akka.Persistence.Query:
| Package | Downloads |
|---|---|
|
Akka.Persistence.Query.Sql
Akka.NET streams support for ADO.NET Persistence middleware. |
|
|
Akka.Persistence.Sql
An Akka Persistence Module for SQL Databases using Linq2Db. |
|
|
Akka.Persistence.TCK
Testkit for Persistence actor support for Akka.NET |
|
|
Akka.Persistence.MongoDb
Akka Persistence journal and snapshot store backed by MongoDB database. |
|
|
wyvern.entity
Package Description |
Showing the top 3 popular GitHub repositories that depend on Akka.Persistence.Query:
| Repository | Stars |
|---|---|
|
ThembisileNGQ/Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
Aaronontheweb/InMemoryCQRSReplication
Akka.NET Reference Architecture - CQRS + Sharding + In-Memory Replication
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.70-beta1 | 261 | 6/23/2026 |
| 1.5.69 | 1,144 | 6/12/2026 |
| 1.5.68 | 3,074 | 5/17/2026 |
| 1.5.67 | 29,385 | 4/26/2026 |
| 1.5.66 | 321 | 4/24/2026 |
| 1.5.65 | 1,808 | 4/10/2026 |
| 1.5.64 | 1,337 | 3/31/2026 |
| 1.5.63 | 1,081 | 3/23/2026 |
| 1.5.62 | 15,142 | 3/3/2026 |
| 1.5.61 | 4,492 | 2/26/2026 |
| 1.5.60 | 29,886 | 2/10/2026 |
| 1.5.59 | 15,903 | 1/26/2026 |
| 1.5.58 | 1,532 | 1/8/2026 |
| 1.5.57 | 3,938 | 12/11/2025 |
| 1.5.57-beta2 | 802 | 12/3/2025 |
| 1.5.57-beta1 | 814 | 12/2/2025 |
| 1.5.56 | 1,565 | 11/25/2025 |
| 1.5.55 | 40,848 | 10/26/2025 |
| 1.5.54 | 970 | 10/17/2025 |
| 1.5.53 | 20,498 | 10/10/2025 |
Akka.NET v1.5.57 is a minor release containing significant new features for Akka.Persistence and structured/semantic logging.
**Akka.Persistence Completion Callbacks and Async Handler Support**
* [Persistence completion callbacks via Defer - simplified alternative](https://github.com/akkadotnet/akka.net/pull/7957) - This release adds completion callback and async handler support to `Persist`, `PersistAsync`, `PersistAll`, and `PersistAllAsync` methods in Akka.Persistence. Key improvements include:
- **Async Handler Support**: All persist methods now support `Func<TEvent, Task>` handlers for async event processing
- **Completion Callbacks**: `PersistAll` and `PersistAllAsync` now accept optional completion callbacks (both sync `Action` and async `Func<Task>`) that execute after all events are persisted and handled
- **Ordering Guarantees**: Completion callbacks use `Defer`/`DeferAsync` internally to maintain strict ordering guarantees
- **Zero Breaking Changes**: All new APIs are additive overloads
**Persistence Code Examples:**
```csharp
// Async handler support - process events asynchronously
Persist(new OrderPlaced(orderId), async evt =>
{
await _orderService.ProcessOrderAsync(evt);
});
// PersistAll with completion callback - know when all events are done
PersistAll(orderEvents, evt =>
{
_state.Apply(evt);
}, onComplete: () =>
{
// All events persisted and handlers executed
_logger.Info("Order batch completed");
Sender.Tell(new BatchComplete());
});
// PersistAll with async handler AND async completion callback
PersistAll(events,
handler: async evt => await ProcessEventAsync(evt),
onCompleteAsync: async () =>
{
await NotifyCompletionAsync();
Sender.Tell(Done.Instance);
});
// PersistAllAsync with completion - allows commands between handlers
PersistAllAsync(largeEventBatch,
handler: evt => _state.Apply(evt),
onComplete: () => Sender.Tell(new BatchProcessed()));
```
The implementation maintains Akka.Persistence's strict ordering guarantees by using `Defer`/`DeferAsync` for completion callbacks, ensuring they execute in order even when called with empty event collections. The new async handler invocations (`IAsyncHandlerInvocation`) are processed via `RunTask` to preserve the actor's single-threaded execution model.
**Native Semantic Logging Support**
* [Add native semantic logging support with property extraction](https://github.com/akkadotnet/akka.net/pull/7955) - Fixes [issue #7932](https://github.com/akkadotnet/akka.net/issues/7932). This release adds comprehensive structured logging support to Akka.NET with both positional (`{0}`) and named (`{PropertyName}`) message template parsing, enabling seamless integration with modern logging frameworks like Serilog, NLog, and Microsoft.Extensions.Logging. Key capabilities include:
- New `LogMessage.PropertyNames` and `GetProperties()` APIs for property extraction
- `SemanticLogMessageFormatter` as the new default formatter
- Performance optimized with 75% allocation reduction compared to the previous implementation
- Zero new dependencies and fully backward compatible
- EventFilter support for semantic templates in unit tests
1 contributor since release 1.5.56
| COMMITS | LOC+ | LOC- | AUTHOR |
|---------|------|------|----------------|
| 2 | 3703 | 81 | Aaron Stannard |
To see the full set of changes in Akka.NET v1.5.57, click here:
* [1.5.57-beta1 milestone](https://github.com/akkadotnet/akka.net/milestone/140?closed=1)
* [1.5.57-beta2 milestone](https://github.com/akkadotnet/akka.net/milestone/141?closed=1)