Leveldb can't be used for cluster sharding, since that is a local journal.
The documentation of persistence has links to distributed journals.

An alternative is to use the ddata mode for cluster sharding, then
Distributed Data will be used instead of Persistence for the internal state
of Cluster Sharding.

/Patrik
ons 18 nov. 2015 kl. 19:33 skrev Jim Hazen <jimhazen2...@gmail.com>:

> You don't need your clustered actors to be persistence aware. So you are
> absolutely free to have sharded stateless actors, or manage state in some
> other way.
>
> The confusing part is that the cluster sharding internals requires akka
> persistence to be configured for at least one journal. The internals use
> this journal to persist internal shard state. Without this journal, cluster
> sharding simply silently fails to work (or used to).
>
> Follow the directions for setting up a local leveldb journal. It is well
> supported by akka and easy to set up. You can then stop worrying about
> persistence and just use the sharding functionality.
>
> --
> >>>>>>>>>>      Read the docs: http://akka.io/docs/
> >>>>>>>>>>      Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to