Skip to content

Commit

Permalink
fixed Akka.NET dependencies (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Jul 4, 2024
1 parent 627f3b0 commit 5b7c984
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 42 deletions.
2 changes: 0 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup>
<NetCoreTestVersion>netcoreapp3.1</NetCoreTestVersion>
<NetFrameworkTestVersion>net461</NetFrameworkTestVersion>
<NetVersion>net6.0</NetVersion>
<NetStandardLibVersion>netstandard2.0</NetStandardLibVersion>
</PropertyGroup>
Expand Down
41 changes: 5 additions & 36 deletions src/Directory.Generated.props
Original file line number Diff line number Diff line change
@@ -1,40 +1,9 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.5.1</VersionPrefix>
<PackageReleaseNotes>[Update Akka.NET v1.5.1](https://github.com/akkadotnet/akka.net/releases/tag/1.5.1)
[Bump Azure.Storage.Blobs to 12.15.0](https://github.com/petabridge/Akka.Persistence.Azure/pull/287)
[Add multi journal support](https://github.com/petabridge/Akka.Persistence.Azure/pull/272)
Multi Journal Support**
You can now add more than one Akka.Persistence.Azure settings and use them singularly for different Akka plugins.
In the example below, we set up two separate journal options with two distinct identifier, one is being used as default persistence plugin, and the other are being used as the journal for cluster sharding.
```csharp
var persistenceJournal = new AzureTableStorageJournalOptions(true)
{
Identifier = "azure-journal",
ConnectionString = connectionString
};
var shardJournal = new AzureTableStorageJournalOptions(false)
{
Identifier = "azure-shard-journal",
ConnectionString = shardConnectionString
};
builder
.WithClustering()
.WithAzureTableJournal(persistenceJournal)
.WithAzureTableJournal(shardJournal)
.WithAzureBlobsSnapshotStore(new AzureBlobSnapshotOptions
{
ConnectionString = connectionString
})
.WithShardRegion&lt;ShardRegionKey&gt;(
"region-1",
Customer.Props,
new MessageExtractor(10),
new ShardOptions
{
JournalOptions = shardJournal,
StateStoreMode = StateStoreMode.Persistence
});
```</PackageReleaseNotes>
<VersionPrefix>1.5.19</VersionPrefix>
<PackageReleaseNotes>[Update Akka.NET v1.5.19](https://github.com/akkadotnet/akka.net/releases/tag/1.5.19)
[Update Akka.Hosting v1.5.19](https://github.com/akkadotnet/Akka.Hosting/releases/tag/1.5.19)
[Fix tag query message replay logic](https://github.com/petabridge/Akka.Persistence.Azure/pull/387)
[Bump Azure.Identity to 1.11.0](https://github.com/petabridge/Akka.Persistence.Azure/pull/384)</PackageReleaseNotes>
</PropertyGroup>
</Project>
8 changes: 4 additions & 4 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<AkkaVersion>1.5.20</AkkaVersion>
<AkkaVersion>1.5.26</AkkaVersion>
<AkkaHostingVersion>1.5.25</AkkaHostingVersion>
</PropertyGroup>
<!-- App dependencies -->
Expand All @@ -16,13 +16,13 @@
</ItemGroup>
<!-- Test dependencies -->
<ItemGroup>
<PackageVersion Include="Akka.Cluster.Sharding" Version="$(AkkaVersion)" />
<PackageVersion Include="Akka.Cluster.Sharding" Version="$(AkkaVersion)" />
<PackageVersion Include="NBench" Version="2.0.1" />
<PackageVersion Include="Docker.DotNet" Version="3.125.15" />
<PackageVersion Include="Akka.Persistence.TCK" Version="$(AkkaVersion)" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageVersion Include="xunit" Version="2.7.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" />
<PackageVersion Include="xunit" Version="2.8.1" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.1" />
</ItemGroup>
<!-- SourceLink support for all Akka.NET projects -->
<ItemGroup>
Expand Down

0 comments on commit 5b7c984

Please sign in to comment.