forked from petabridge/Akka.Persistence.Azure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request petabridge#21 from petabridge/dev
v0.1.0 Akka.Persistence.Extras Stable Release
- Loading branch information
Showing
34 changed files
with
2,239 additions
and
133 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26430.14 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{79D71264-186B-4F62-8930-35DD9ECCAF3B}" | ||
ProjectSection(SolutionItems) = preProject | ||
build.cmd = build.cmd | ||
build.fsx = build.fsx | ||
build.ps1 = build.ps1 | ||
build.sh = build.sh | ||
EndProjectSection | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Akka.Persistence.Extras", "src\Akka.Persistence.Extras\Akka.Persistence.Extras.csproj", "{28DC51D3-4F26-4F9E-A069-B9A01E426640}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Akka.Persistence.Extras.Tests", "src\Akka.Persistence.Extras.Tests\Akka.Persistence.Extras.Tests.csproj", "{2A77FABC-122D-4228-BFBA-D00F432CE517}" | ||
EndProject | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Akka.Persistence.Extras.Tests.Performance", "src\Akka.Persistence.Extras.Tests.Performance\Akka.Persistence.Extras.Tests.Performance.csproj", "{22D4AADD-A7B5-4A01-8980-9E7C21DCFDF8}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{82C25BE2-77BE-47D9-A3FD-632E92FA95CC}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Akka.Persistence.Extras.Demo.DeDuplicatingReceiver", "src\Akka.Persistence.Extras.Demo.DeDuplicatingReceiver\Akka.Persistence.Extras.Demo.DeDuplicatingReceiver.csproj", "{271A63AA-61A7-48E1-BF25-7C3AF8238A29}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{28DC51D3-4F26-4F9E-A069-B9A01E426640}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{28DC51D3-4F26-4F9E-A069-B9A01E426640}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{28DC51D3-4F26-4F9E-A069-B9A01E426640}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{28DC51D3-4F26-4F9E-A069-B9A01E426640}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{2A77FABC-122D-4228-BFBA-D00F432CE517}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2A77FABC-122D-4228-BFBA-D00F432CE517}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2A77FABC-122D-4228-BFBA-D00F432CE517}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2A77FABC-122D-4228-BFBA-D00F432CE517}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{22D4AADD-A7B5-4A01-8980-9E7C21DCFDF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{22D4AADD-A7B5-4A01-8980-9E7C21DCFDF8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{22D4AADD-A7B5-4A01-8980-9E7C21DCFDF8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{22D4AADD-A7B5-4A01-8980-9E7C21DCFDF8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{271A63AA-61A7-48E1-BF25-7C3AF8238A29}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{271A63AA-61A7-48E1-BF25-7C3AF8238A29}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{271A63AA-61A7-48E1-BF25-7C3AF8238A29}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{271A63AA-61A7-48E1-BF25-7C3AF8238A29}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{271A63AA-61A7-48E1-BF25-7C3AF8238A29} = {82C25BE2-77BE-47D9-A3FD-632E92FA95CC} | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {B99E6BB8-642A-4A68-86DF-69567CBA700A} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#### 0.1.0 August 14 2017 #### | ||
First release | ||
#### 0.1.0 February 14 2019 #### | ||
First release of Akka.Persistence.Extras. Introduces the [`DeDuplicatingReceiveActor` base class](https://devops.petabridge.com/api/Akka.Persistence.Extras.DeDuplicatingReceiveActor.html), which can be used to automatically strip out duplicates and guarantee that messages are processed exactly once by the actor. | ||
|
||
You can read more about [how to use the `DeDuplicatingReceiveActor` with Akka.NET and other `AtLeastOnceDeliveryActor` instances here](https://devops.petabridge.com/articles/msgdelivery/deduplication.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
src/Akka.AtLeastOnceDeliveryJournaling.Tests.Performance/UnitTest1.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
src/Akka.AtLeastOnceDeliveryJournaling/Akka.AtLeastOnceDeliveryJournaling.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...tras.Demo.DeDuplicatingReceiver/Akka.Persistence.Extras.Demo.DeDuplicatingReceiver.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="..\common.props" /> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netcoreapp2.1</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="sample.conf" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="sample.conf"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Akka.Persistence.Extras\Akka.Persistence.Extras.csproj" /> | ||
<PackageReference Include="Akka.Persistence.Sqlite" Version="$(AkkaVersion)" /> | ||
</ItemGroup> | ||
|
||
</Project> |
41 changes: 41 additions & 0 deletions
41
src/Akka.Persistence.Extras.Demo.DeDuplicatingReceiver/Messages.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="Messages.cs" company="Petabridge, LLC"> | ||
// Copyright (C) 2015 - 2019 Petabridge, LLC <https://petabridge.com> | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Akka.Persistence.Extras.Demo.DeDuplicatingReceiver | ||
{ | ||
public class ReliableDeliveryEnvelope<TMessage> | ||
{ | ||
public ReliableDeliveryEnvelope(TMessage message, long messageId) | ||
{ | ||
Message = message; | ||
MessageId = messageId; | ||
} | ||
|
||
public TMessage Message { get; } | ||
|
||
public long MessageId { get; } | ||
} | ||
|
||
public class ReliableDeliveryAck | ||
{ | ||
public ReliableDeliveryAck(long messageId) | ||
{ | ||
MessageId = messageId; | ||
} | ||
|
||
public long MessageId { get; } | ||
} | ||
|
||
public class Write | ||
{ | ||
public Write(string content) | ||
{ | ||
Content = content; | ||
} | ||
|
||
public string Content { get; } | ||
} | ||
} |
Oops, something went wrong.