Improve documentation and configuration API when using together: sharding and distibuted data (#20215)
* Missing setter for stateStoreMode in ClusterShardingSettings * Improve Sharding documentation regarding Distributed Data Storage
This commit is contained in:
parent
2418e610ab
commit
e4127c3af6
3 changed files with 11 additions and 0 deletions
|
|
@ -129,6 +129,9 @@ final class ClusterShardingSettings(
|
|||
def withTuningParameters(tuningParameters: ClusterShardingSettings.TuningParameters): ClusterShardingSettings =
|
||||
copy(tuningParameters = tuningParameters)
|
||||
|
||||
def withStateStoreMode(stateStoreMode: String): ClusterShardingSettings =
|
||||
copy(stateStoreMode = stateStoreMode)
|
||||
|
||||
/**
|
||||
* The `role` of the `ClusterSingletonManagerSettings` is not used. The `role` of the
|
||||
* coordinator singleton will be the same as the `role` of `ClusterShardingSettings`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue