@Horusiath i have implemented the batcing journal but it doesn't work :smile: am getting null reference exception here is log
[ERROR][08-Sep-17 23:30:19][Thread 0008][akka://system/system/akka.persistence.journal.mysql] Object reference not set to an instance of an object. Cause: [akka://system/system/akka.persistence.journal.mysql#1985097534]: Akka.Actor.ActorInitializationException: Exception during creation ---> System.NullReferenceException: Object reference not set to an instance of an object. at Akka.Persistence.Sql.Common.Journal.BatchingSqlJournal`2.PreStart() at Akka.Actor.ActorBase.AroundPreStart() at Akka.Actor.ActorCell.<>c__DisplayClass168_0.<Create>b__0() at Akka.Actor.ActorCell.UseThreadContext(Action action) at Akka.Actor.ActorCell.Create(Exception failure) --- End of inner exception stack trace --- at Akka.Actor.ActorCell.Create(Exception failure) at Akka.Actor.ActorCell.SysMsgInvokeAll(EarliestFirstSystemMessageList messages, Int32 currentState)
here is the repo
@Horusiath Please take a look what is missing
Three quick persistence queries:
Firstly, I know it uses google protocol buffers, how does it handle serialization, I couldn't find the code. I've got a custom type that doesn't currently serialize with protobuff so was wondering whether this would still be handled.
Secondly, how can I stop and rehydrate an actor after a period of time, this is a process that is offline currently so could take some time.
Finally, can someone confirm that as long as the persistence id's are the same the actor hierarchy can be changed.