Remoting docs config snippet should have provider = remote (#28042)
This commit is contained in:
parent
87ba57d42e
commit
75c9bd1805
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue