There will be a new actor activated for each unique messageId destination. Messages will arrive at that actor for processing. Actors are grouped into shards, which help manage those actors. If you send 100 messages to unique destinations across your cluster, they'll be handled by 100 unique actors. They'll be managed by 10 shards, across your ?? nodes.
So seeing the creation of 100 actors and not 10, is expected. To get the number of actors managed by the shardRegion I assume you'd need to discover the actors representing the shard regions and then size() their children. I believe there is an internal messaging protocol for doing this, but I don't have the docs in front of me. You probably also find actors under the /user/sharding/ namespace using normal actor selection. -- >>>>>>>>>> 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.
