Hello

I'd like to implement cluster sharding enabled service with following 
scenario

# *Wallet *service manages users' wallets
# Each *wallet* is represented as persistent actors / shard entity
# Shard clients are sending deposit / withdraw commands to wallets
# Wallet creation is a dedicated business procedure and can't be just a 
creating new actor by *ShardRegion *actor
 
What we're trying to achieve is 

# before processing deposit / withdraw commands to check if some external 
DB contains record about *wallet *registration
# create shard entity only if *wallet *is registered before

Is this a valid scenario for akka cluster sharding and if yes - how can 
this be achieved ?

Unfortunately haven't find proper information in Internet., the only option 
I see now - is to check external DB in preStart method of shard entity.



-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to