Add library dependency section to documentation (#25010)

This commit is contained in:
Richard Imaoka 2018-05-15 18:44:33 +09:00 committed by Arnout Engelen
parent 6fed2d78ad
commit ea84b8d469
66 changed files with 888 additions and 315 deletions

View file

@ -1,5 +1,17 @@
# Cluster Client
## Dependency
To use Cluster Client, you must add the following dependency in your project:
@@dependency[sbt,Maven,Gradle] {
group=com.typesafe.akka
artifact=akka-cluster-tools_$scala.major_version$
version=$akka.version$
}
## Introduction
An actor system that is not part of the cluster can communicate with actors
somewhere in the cluster via the @unidoc[ClusterClient], the client can run in an `ActorSystem` that is part of
another cluster. It only needs to know the location of one (or more) nodes to use as initial
@ -161,16 +173,6 @@ Scala
Java
: @@snip [ClusterClientTest.java]($akka$/akka-cluster-tools/src/test/java/akka/cluster/client/ClusterClientTest.java) { #receptionistEventsListener }
## Dependencies
To use the Cluster Client you must add the following dependency in your project.
@@dependency[sbt,Maven,Gradle] {
group="com.typesafe.akka"
artifact="akka-cluster-tools_$scala.binary_version$"
version="$akka.version$"
}
<a id="cluster-client-config"></a>
## Configuration