Hi Hannes,

On Wed, Mar 4, 2015 at 6:42 PM, Hannes Stockner <[email protected]>
wrote:

> Hello,
>
> I am using Akka Cluster Sharding because I have many stateful actors that
> together don't fit on one machine.
> Additionally I am also using Akka Persistence (with Cassandra journal) for
> the snapshot mechanism (to recreate state).
>
> For storing the events I would like to use a user defined schema for
> external consumption only (recreating the state from the events is not
> necessary).
>
> Does Akka Persistence make sense in this case? Could I override the
> persistAsync method? Or should I use a different approach?
>

You can implement your own journal plugin. See
http://doc.akka.io/docs/akka/2.3.9/scala/persistence.html#Storage_plugins
In Akka 2.4 there will be support for multiple journal plugins within one
application, in case you don't want to use your custom plugin for
everything.

/Patrik


>
> Thanks for any help
> Hannes
>
> --
> >>>>>>>>>> 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 [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/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

[image: Scala Days] <http://event.scaladays.org/scaladays-sanfran-2015>

-- 
>>>>>>>>>>      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 [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/d/optout.

Reply via email to