=cls #19917 Clarify docs about sharding ddata
This commit is contained in:
parent
c735403d47
commit
43dafff152
3 changed files with 20 additions and 7 deletions
|
|
@ -9,5 +9,4 @@ Information for Akka Developers
|
|||
io-layer
|
||||
developer-guidelines
|
||||
documentation
|
||||
team
|
||||
|
||||
|
|
|
|||
|
|
@ -184,11 +184,18 @@ Distributed Data Mode
|
|||
|
||||
Instead of using :ref:`persistence-java` it is possible to use the :ref:`distributed_data_java` module
|
||||
as storage for the state of the sharding coordinator. In such case the state of the
|
||||
``ShardCoordinator`` will be replicated inside a cluster by the Distributed Data module with
|
||||
``ShardCoordinator`` will be replicated inside a cluster by the :ref:`distributed_data_java` module with
|
||||
``WriteMajority``/``ReadMajority`` consistency.
|
||||
|
||||
This mode can be enabled by setting configuration property ``akka.cluster.sharding.state-store-mode``
|
||||
as ``ddata``.
|
||||
This mode can be enabled by setting configuration property::
|
||||
|
||||
akka.cluster.sharding.state-store-mode = ddata
|
||||
|
||||
It is using the Distributed Data extension that must be running on all nodes in the cluster.
|
||||
Therefore you should add that extension to the configuration to make sure that it is started
|
||||
on all nodes::
|
||||
|
||||
akka.extensions += "akka.cluster.ddata.DistributedData"
|
||||
|
||||
You must explicitly add the ``akka-distributed-data-experimental`` dependency to your build if
|
||||
you use this mode. It is possible to remove ``akka-persistence`` dependency from a project if it
|
||||
|
|
|
|||
|
|
@ -187,11 +187,18 @@ Distributed Data Mode
|
|||
|
||||
Instead of using :ref:`persistence-scala` it is possible to use the :ref:`distributed_data_scala` module
|
||||
as storage for the state of the sharding coordinator. In such case the state of the
|
||||
``ShardCoordinator`` will be replicated inside a cluster by the Distributed Data module with
|
||||
``ShardCoordinator`` will be replicated inside a cluster by the :ref:`distributed_data_scala` module with
|
||||
``WriteMajority``/``ReadMajority`` consistency.
|
||||
|
||||
This mode can be enabled by setting configuration property ``akka.cluster.sharding.state-store-mode``
|
||||
as ``ddata``.
|
||||
This mode can be enabled by setting configuration property::
|
||||
|
||||
akka.cluster.sharding.state-store-mode = ddata
|
||||
|
||||
It is using the Distributed Data extension that must be running on all nodes in the cluster.
|
||||
Therefore you should add that extension to the configuration to make sure that it is started
|
||||
on all nodes::
|
||||
|
||||
akka.extensions += "akka.cluster.ddata.DistributedData"
|
||||
|
||||
You must explicitly add the ``akka-distributed-data-experimental`` dependency to your build if
|
||||
you use this mode. It is possible to remove ``akka-persistence`` dependency from a project if it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue