Skip to content

Akka.Persistence.Azure v0.9.0

Compare
Choose a tag to compare
@Aaronontheweb Aaronontheweb released this 21 Jul 17:30
a2a5dc6

0.9.0 July 21 2022

Added Akka.Hosting support to Akka.Persistence.Azure, which you can activate via the following:

First, install the Akka.Persistence.Azure.Hosting NuGet package:

PS> install-package Akka.Persistence.Azure.Hosting

Next, add the WithAzurePersistence method calls to your AkkaConfigurationBuilder (from Akka.Hosting):

var conn = Environment.GetEnvironmentVariable("AZURE_CONNECTION_STR");
var host = new HostBuilder()
    .ConfigureServices(collection =>
    {
        collection.AddAkka("MyActorSys", builder =>
        {
        	// enables both journal and snapshot store
            builder.WithAzurePersistence(conn);
            builder.StartActors((system, registry) =>
            {
                var myActor = system.ActorOf(Props.Create(() => new MyPersistenceActor("ac1")), "actor1");
                registry.Register<MyPersistenceActor>(myActor);
            });
        });
    }).Build();

await host.StartAsync();
return host;

You can also call the following methods to activate the journal / snapshot stores independently:

  • WithAzureTableJournal
  • WithAzureBlobsSnapshotStore

0.8.4 June 2 2022

0.8.3 September 9 2021

0.8.2 April 20 2021

Release of Akka.Persistence.Azure

Changes:

  • a2a5dc6 Merge pull request #226 from petabridge/dev
  • f099e17 Upgrade to Akka.Persistence.Hosting v0.4.1 (#227)
  • fada301 Merge branch 'master' into dev
  • 6b4689b added detailed release notes and readme updates (#225)
  • f3344af added initial Akka.Persistence.Hosting implementation for Azure (#223)
  • 3111200 Bump Docker.DotNet from 3.125.5 to 3.125.10 (#220)
  • 71c6207 Bump Azure.Data.Tables from 12.5.0 to 12.6.1 (#218)

This list of changes was auto generated.