Hi Bobby,
On 23.01.14 20:32, Bobby Richards wrote:
Martin,
Thanks for the replies, I though the box checked to update me but I
guess not. I did get past my level db issue, I think it was mainly my
mistakes but now I am having problems getting confirmations over the
cluster. I thought I saw something about resolution but perhaps that
was in the event sourced library and not the akka persistence package.
We removed that recently form the API, this is now done automatically.
Should confirmations work over the cluster out of box?
Yes, take a look at this example
<https://github.com/akka/akka/blob/master/akka-samples/akka-sample-persistence/src/main/scala/sample/persistence/ProcessorChannelRemoteExample.scala>,
where a processor sends messages to a remote destination via a channel.
Thanks
Bobby
On Friday, January 3, 2014 3:14:51 PM UTC-6, Bobby Richards wrote:
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.
--
Martin Krasser
blog: http://krasserm.blogspot.com
code: http://github.com/krasserm
twitter: http://twitter.com/mrt1nz
--
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.