Questions tagged [akka.net-persistence]

44 questions
1
vote
1 answer

Akka.Net and In memory peristence

I am trying to get my head around persistence and I am yet to be able to recover an actor. My intention is to get an Actor by its persistenceId (Same way we we get an Entity using GetById in DDD). I can get the reference to List and add it to a…
TheMar
  • 1,934
  • 2
  • 30
  • 51
1
vote
1 answer

AKKA.NET - Queuing and Retry

As a part of changing our application from a giant monolith to a mic We are developing a Notification micro-service that can be used by all the other modules for sending notifications like Email, SMS , Push Notifications etc. One client of this…
1
vote
0 answers

Akka.Net: Custom table schema for EventJournal in Akka.Persistence.SqlServer

Is there an easy way use your own custom table schema when working with Akka.Persistence.SqlServer in Akka.Net? There is the option to replace the QueryBuilder and QueryMapper, but I can't see a way to replace the default JournalEntry implementation…
schepersk
  • 31
  • 5
0
votes
0 answers

Akka.net - remember entities issue

Getting the following errors on our Akka.net application, anyone got any idea what causes these "Bet": Failed to load initial entity ids from remember entities store within [00:00:05], stopping shard for backoff and restart Message [RecoveryTick]…
0
votes
1 answer

Akka.net readJournal plugin for inmem journal plugin

Which readJournal plugin should I use with inmem journal plugin? let readJournal = mailbox.System.ReadJournalFor(SqlReadJournal.Identifier) I know for Akka, there is InMemoryReadJournal...
Anibal Yeh
  • 349
  • 1
  • 11
0
votes
2 answers

How to merge events from 2 Event Sourcing systems

I need to merge events coming from 2 different event sourcing systems handled by Akka.Net Persistence module. The merge must sort events based on their timestamp, and I found the MergeSorted operator in Akka.Stream that does exactly what I need…
Daniele Armanasco
  • 7,289
  • 9
  • 43
  • 55
0
votes
1 answer

Akka.net Persistence Query -Events by Tag- stream order guarantee

I am working on building a solution with Akka.net that will allow for a persistence query that queries multiple tags. One of the ways i thought of doing this was to simply materialize 1 stream for each tag and then use akka.net stream abstractions…
0
votes
1 answer

Best practice for cleaning up EntityStoppedManifest journal entries for permanently terminated actors?

In our actor system, using sharding and persistence, the concrete instances of one of our ReceivePersistentActor implementations are not re-used once they are terminated (passivated), as they represent client sessions identified by a GUID that is…
nullcheck
  • 1
  • 1
0
votes
1 answer

At What Point is a Persisted Actor Dehydrated/Terminated?

Is there documentation of the lifecycle of a ReceivePersistentActor? I'm interested in the circumstances a persistent actor is killed/stopped/dehydrated to allocate resources for other actors. Our application creates a lot of persistent actors and…
0
votes
1 answer

Method not found: Akka.Pattern.CircuitBreaker.Create

I get above error when I'm trying to create a persisting actor with SQL server persistence. EDIT: what's weird when I clone repositories akka and akka persistence sql server and attach then instead using nuget packages is working as expected. I'm…
TjDillashaw
  • 787
  • 1
  • 12
  • 29
0
votes
1 answer

By default where Akka.net stores its messages?

I have downloaded a sample code from github and run AtLeastOnceDelivery.sln Every new run it is sending messages with it. And if I change the message namespace it shows an error started with Error loading snapshot [SnapshotMetadata
Nafeez Abrar
  • 1,045
  • 10
  • 27
0
votes
0 answers

Conditionally change Akka.Persistence Recovery object

I am trying to conditionally change an actor's Recovery object. When an actor spins up and there are no snapshots or events that have been persisted, I restart the actor. Upon restarting I want to change the Recovery object. This is how I…
0
votes
1 answer

Akka.Net: how to create persistent views through a journal reader

According to the Akka.Net documentation, PersistentView is deprecated, and PersistenceQuery should be used instead. In an ASP.Net Core 2.0 Web-API application I am using Akka.Net with event sourcing. I am using the SQL Server plugin for persistence,…
George
  • 315
  • 3
  • 15
0
votes
1 answer

Akka.NET - stopping persistent actors on recovery

I have an actor system with persistent actor A. On receiving message M, this should spawn an instance of persistent actor B, that executes some dangerous and long-running process (involving exchanging other messages with other parties), and sends…
gaborzo
  • 167
  • 10
0
votes
0 answers

Ignore Akka Persistence Replay Failures

We are using Akka.net with persistence (using PostgreSQL) and storing custom events in the event store. During development/testing events may be added to the event store which at some point in the future I will wish to delete/ignore. What is the…
Tim Trewartha
  • 364
  • 3
  • 10