Whoops, I thought this question was in the 
https://groups.google.com/forum/#!topic/akka-user/RZrLVIKPPEg (unit-testing 
persistent actor recovery) thread.

To clarify what I meant above, since it’s also relevant - the same class is 
fine. What you do not want to have is multiple persistent actors with the 
same persistentId.

It’s *OK* to have 5 actors of the class UserWallet if each of them has a 
*different* persistenceId (“wallet-12”, “wallet-23”, …).
It’s *not OK* if they would have the same persistenceId - that will break 
things, there must be always one "writer" (PersistentActor) for a given 
persistenceId.

— konrad
​

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