akka/akka-core

add a withNumberOfShards to ClusterShardingSettings

Open

#28,366 opened on Dec 12, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Scala (3,547 forks)batch import
1 - triagedhelp wantedt:cluster-shardingt:typed

Repository metrics

Stars
 (13,277 stars)
PR merge metrics
 (Avg merge 8d 19h) (10 merged PRs in 30d)

Description

Requested in https://discuss.lightbend.com/t/different-number-of-shards-per-entity-type/5595

One thing to be aware of is that the compatibility check that is performed when nodes are joining the cluster will not verify such changed property. The setting must be the same on all nodes.

Contributor guide