minor edits to cluster-usage doc
This commit is contained in:
parent
472637f799
commit
5cbc6d8f76
1 changed files with 61 additions and 61 deletions
|
|
@ -111,7 +111,7 @@ must be manually joined to the cluster again.
|
|||
Automatic joining of the first seed node is not possible, it would only join
|
||||
itself. It is only the first seed node that has this restriction.
|
||||
|
||||
You can disable automatic joining with configuration:
|
||||
You can disable automatic joining with configuration::
|
||||
|
||||
akka.cluster.auto-join = off
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ You can join to any node in the cluster. It doesn't have to be configured as
|
|||
seed node. If you are not using auto-join there is no need to configure
|
||||
seed nodes at all.
|
||||
|
||||
Joining can also be performed programatically with ``Cluster(system).join``.
|
||||
Joining can also be performed programatically with ``Cluster(system).join(address)``.
|
||||
|
||||
|
||||
Automatic vs. Manual Downing
|
||||
|
|
@ -133,9 +133,9 @@ changed to 'Down'. This can be performed automatically or manually. By
|
|||
default it must be done manually, using using :ref:`cluster_jmx` or
|
||||
:ref:`cluster_command_line`.
|
||||
|
||||
It can also be performed programatically with ``Cluster(system).down``.
|
||||
It can also be performed programatically with ``Cluster(system).down(address)``.
|
||||
|
||||
You can enable automatic downing with configuration:
|
||||
You can enable automatic downing with configuration::
|
||||
|
||||
akka.cluster.auto-down = on
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ Subscribe to Cluster Events
|
|||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
You can subscribe to change notifications of the cluster membership by using
|
||||
``Cluster(system).subscribe``. A snapshot of the full state,
|
||||
``Cluster(system).subscribe(subscriber, to)``. A snapshot of the full state,
|
||||
``akka.cluster.ClusterEvent.CurrentClusterState``, is sent to the subscriber
|
||||
as the first event, followed by events for incremental updates.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue