I have a project that I am trying to implement the new command sourcing
feature from the "experimental" persistence module.
Level db is not an option at this point and I have tried to implement a
quick dummy solution with the journaling api.
I have followed the doc in which I try and use my own journal and snapshot
implementations, which as of now are just basic stubs, I just want to get a
few actors passing messages, not really caring how accurate restarts are.
However I am still getting level db errors, null pointer specifically. I
am assuming akka://my-sis/system/journal is automatically created based on
either defaults or config. The doc says a journal plugin can be created
with minimal config.
here is my config, tried with and without the commented line. I am trying
to run this inside sbt, which it appears there are problems but with level
db.
akka.persistence.journal.plugin = "my-journal"
#akka.persistence.journal.leveldb.native = off
akka.persistence.snapshot-store.plugin = "my-snapshot"
my-journal {
class = "com.myco.journal.JournalActor"
plugin-dispatcher =
"akka.persistence.dispatchers.default-plugin-dispatcher"
}
my-snapshot {
class = "com.myco.journal.SnapshotActor"
plugin-dispatcher =
"akka.persistence.dispatchers.default-plugin-dispatcher"
}
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.