-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
627f3b0
commit 5b7c984
Showing
3 changed files
with
9 additions
and
42 deletions.
There are no files selected for viewing
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,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<ShardRegionKey>( | ||
"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> |
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