When a rebalance kicks in from using sharding, does the rebalancing process consider only entries of a particular type or does it consider all entry types in the cluster?
For example, if I were to shard different entries (different by name that is) like so: ClusterSharding.get(system).start("A", StreamActor.props(config), new MessageExtractor()); ClusterSharding.get(system).start("B", StreamActor.props(config), new MessageExtractor()); Would the rebalancing take into account the entries of type "A" and "B" when determining when to rebalance? ie. shard 1 (A, A, B, B) shard 2 (A) shard 2 (B) // Shard 1 has 4 entries running of different types while shards 2 and 3 only have 1 entry, thus all entries will get rebalanced. Or does rebalancing work separately for each type of entry? ie. shard 1 (A, B, B) shard 2 (A) shard 2 (A) // Shard 1 has 4 entries running of different types but each shard only has a single instance of entry type "A" running. Thus the rebalancing won't kick in for type "A" (although it might kick in for entries of type B). -- >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.