Hi Jan,

You can have only one persistence plugin per system so if you implement an
SQL based storage plugin it will be shared by all persistent components. It
might be a working solution to have a plugin that delegates to an
"ordinary" storage for normal messages, and stores a specific subset of
messages in the SQL storage.

If you are fine with your journal entries getting into SQL after a delay,
you might want to use a View for that. Then all your messages are persisted
to an "ordinary" journal first (for quick recovery) and the view puts them
into a different storage (for example for querying reasons). The second
storage populated by the view will see the data delayed.

-Endre


On Mon, Mar 24, 2014 at 3:04 PM, Jan Vincent Liwanag <[email protected]>wrote:

> Is it "normal" to create a custom journal and snapshot mechanism for
> prespecified messages? Or should journal and snapshot implementations be
> generic -- that is, they should be able to handle any type of message and
> state - much like the default leveldb one?
>
> --
> >>>>>>>>>>      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.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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