=doc hide auto downing from default sample config in cluster

This commit is contained in:
Konrad Malawski 2016-02-09 14:21:38 +01:00
parent 9880ad2678
commit 4029669e1f
4 changed files with 27 additions and 9 deletions

View file

@ -1,9 +1,9 @@
.. _cluster_usage_java:
######################
Cluster Usage
######################
#############
Cluster Usage
#############
For introduction to the Akka Cluster concepts please see :ref:`cluster`.
@ -28,7 +28,7 @@ It joins the cluster and an actor subscribes to cluster membership events and lo
The ``application.conf`` configuration looks like this:
.. includecode:: ../../../akka-samples/akka-sample-cluster-java/src/main/resources/application.conf
.. includecode:: ../../../akka-samples/akka-sample-cluster-java/src/main/resources/application.conf#snippet
To enable cluster capabilities in your Akka project you should, at a minimum, add the :ref:`remoting-java`
settings, but with ``akka.cluster.ClusterActorRefProvider``.

View file

@ -1,9 +1,9 @@
.. _cluster_usage_scala:
#######################
Cluster Usage
#######################
#############
Cluster Usage
#############
For introduction to the Akka Cluster concepts please see :ref:`cluster`.
@ -22,7 +22,7 @@ It joins the cluster and an actor subscribes to cluster membership events and lo
The ``application.conf`` configuration looks like this:
.. includecode:: ../../../akka-samples/akka-sample-cluster-scala/src/main/resources/application.conf
.. includecode:: ../../../akka-samples/akka-sample-cluster-scala/src/main/resources/application.conf#snippet
To enable cluster capabilities in your Akka project you should, at a minimum, add the :ref:`remoting-scala`
settings, but with ``akka.cluster.ClusterActorRefProvider``.