GithubHelp home page GithubHelp logo

Comments (4)

wesselkranenborg avatar wesselkranenborg commented on August 15, 2024

This indeed caused us some headaches after we found out that there was some mismatch between blob and table support for DefaultAzureCredential. Blob supports it, but if you use Akka.Persistence.Azure.Hosting you also need to set .WithAzureBlobsSnapshotStore(string.Empty) to initialize the blob storage, but connection information is set via AzureBlobSnapshotSetup.Create, which is not part of the AzureBlobSnapshotStoreSettings. This caused some confusion. But good to read that this will be unified and working the same.

My suggestion would be to create some Akka.Persistence.Azure.Hosting which support
.WithAzureBlobsSnapshotStore(new DefaultAzureCredential())
.WithAzureTableJournal(new DefaultAzureCredential())
.WithAzurePersistence(new DefaultAzureCredential())

I'm currently testing this support in our application and I have my doubts if the combination between the current WithAzureBlobsSnapshotStore and AzureBlobSnapshotSetup.Create is working together or that they conflict with each other. Will let it know once I know it.

from akka.persistence.azure.

wesselkranenborg avatar wesselkranenborg commented on August 15, 2024

After some tests I know for sure that I need .WithAzureBlobsSnapshotStore("MyStorageConnectionString") to get Blob Snapshots work. And this Akka.Hosting feature is not working together with AzureBlobSnapshotSetup.Create.

So if you use Akka.Persistence.Azure.Hosting to setup Akka.Persistence.Azure the following combinations work:

  • DefaultAzureCredentials via AzureBlobSnapshotSetup.Create together with HOCON configuration for BlobSnapshots
  • WithAzureBlobsSnapshotStore with the use of a connectionstring.

These both options work together with WithAzureTableJournal because that one always needs a connection string.

from akka.persistence.azure.

Arkatufus avatar Arkatufus commented on August 15, 2024

@wesselkranenborg All those problems should be addressed in #237

from akka.persistence.azure.

wesselkranenborg avatar wesselkranenborg commented on August 15, 2024

Indeed, looks very good. Am eager to try it ;-)

from akka.persistence.azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.