Remoting docs config snippet should have provider = remote (#28042)

This commit is contained in:
Helena Edelson 2019-10-23 13:37:49 -04:00 committed by GitHub
parent 87ba57d42e
commit 75c9bd1805
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -48,6 +48,7 @@ to your `application.conf` file:
```
akka {
actor {
# provider=remote is possible, but prefer cluster
provider = cluster
}
remote {
@ -62,7 +63,7 @@ akka {
As you can see in the example above there are four things you need to add to get started:
* Change provider from `local` to `cluster`
Change provider from `local`. We recommend using @ref:[Akka Cluster](cluster-usage.md) over using remoting directly.
* Enable Artery to use it as the remoting implementation
* Add host name - the machine you want to run the actor system on; this host
name is exactly what is passed to remote systems in order to identify this

View file

@ -49,7 +49,8 @@ to your `application.conf` file:
```
akka {
actor {
provider = remote
# provider=remote is possible, but prefer cluster
provider = cluster
}
remote.artery.enabled = false
remote.classic {
@ -64,7 +65,7 @@ akka {
As you can see in the example above there are five things you need to add to get started:
* Change provider from `local` to `remote`
* Change provider from `local`. We recommend using @ref:[Akka Cluster](cluster-usage.md) over using remoting directly.
* Disable artery remoting. Artery is the default remoting implementation since `2.6.0`
* Add host name - the machine you want to run the actor system on; this host
name is exactly what is passed to remote systems in order to identify this