Comments (4)
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.
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.
@wesselkranenborg All those problems should be addressed in #237
from akka.persistence.azure.
Indeed, looks very good. Am eager to try it ;-)
from akka.persistence.azure.
Related Issues (20)
- CI shows that build passes tests, while it failed
- Migrate test suite to Azurite instead of old azure emulator image
- Fix AzureTableQueryEdgeCaseSpecs specs - they are skipped now
- Possible Akka.Persistence.Azure and Akka.Cluster.Sharding configuration / compatibility issues HOT 1
- Fix N+1 error in retry / backoff
- Need to enable correct post-1.4.11 PersistenceIds Akka.Persistence.Query support HOT 3
- Blobs persistance needs support for DefaultAzureCredential() HOT 14
- Allow private access on snapshot container HOT 4
- Using development connection fails when attempting to check for Azure storage HOT 17
- Remove tag subscriber updates from inner write loop
- Add Akka.Persistence.Azure.Hosting
- Malformed log message
- Azure credentials throws TaskCanceledException when Actor is already stopped HOT 8
- Under high load 'The batch request operation exceeds the maximum 100 changes per change set.' exceptions are thrown when using this plugin in Akka.Cluster.Sharding HOT 2
- `ExecuteBatchAsLimitedBatches` breaks write atomicity
- Getting Stack Traces in Logs from Azure Persistence Failures HOT 5
- Upgrade to .NET 8 is breaking recovery HOT 3
- CurrentEventsByTag returns a maximum of 1,000 events HOT 3
- Persistence Recovery Failure Loop HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka.persistence.azure.