Skip to content

Akka.Persistence.Azure v1.5.1

Compare
Choose a tag to compare
@Aaronontheweb Aaronontheweb released this 16 Mar 19:53
346e028

1.5.1 March 16 2023

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.

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
        });

Changes:

  • 346e028 Update RELEASE_NOTES.md for 1.5.1 release (#295)
  • 0d9fbcd Bump AkkaVersion from 1.5.0 to 1.5.1 (#294)
  • 51254a9 Update copyright headers to 2023 (#292)
  • 05368d5 Multi journal config feature implementation (#272)
  • 4bc801e Bump Azure.Storage.Blobs from 12.13.1 to 12.15.0 (#287)
  • abfb60b Fix NuGet URL, license, and icon url (#291)

This list of changes was auto generated.