Make artery the default remoting (#26772)
This commit is contained in:
parent
ac91c797a5
commit
efc3adc08d
158 changed files with 977 additions and 999 deletions
|
|
@ -14,7 +14,7 @@ object ClusterDocSpec {
|
|||
val config =
|
||||
"""
|
||||
akka.actor.provider = "cluster"
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
"""
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ object FactorialBackend {
|
|||
// Override the configuration of the port when specified as program argument
|
||||
val port = if (args.isEmpty) "0" else args(0)
|
||||
val config = ConfigFactory
|
||||
.parseString(s"akka.remote.netty.tcp.port=$port")
|
||||
.parseString(s"akka.remote.classic.netty.tcp.port=$port")
|
||||
.withFallback(ConfigFactory.parseString("akka.cluster.roles = [backend]"))
|
||||
.withFallback(ConfigFactory.load("factorial"))
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ object TransformationBackend {
|
|||
// Override the configuration of the port when specified as program argument
|
||||
val port = if (args.isEmpty) "0" else args(0)
|
||||
val config = ConfigFactory
|
||||
.parseString(s"akka.remote.netty.tcp.port=$port")
|
||||
.parseString(s"akka.remote.classic.netty.tcp.port=$port")
|
||||
.withFallback(ConfigFactory.parseString("akka.cluster.roles = [backend]"))
|
||||
.withFallback(ConfigFactory.load())
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ object TransformationFrontend {
|
|||
// Override the configuration of the port when specified as program argument
|
||||
val port = if (args.isEmpty) "0" else args(0)
|
||||
val config = ConfigFactory
|
||||
.parseString(s"akka.remote.netty.tcp.port=$port")
|
||||
.parseString(s"akka.remote.classic.netty.tcp.port=$port")
|
||||
.withFallback(ConfigFactory.parseString("akka.cluster.roles = [frontend]"))
|
||||
.withFallback(ConfigFactory.load())
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ object DistributedDataDocSpec {
|
|||
val config =
|
||||
"""
|
||||
akka.actor.provider = "cluster"
|
||||
akka.remote.netty.tcp.port = 0
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
|
||||
#//#serializer-config
|
||||
akka.actor {
|
||||
|
|
|
|||
|
|
@ -21,9 +21,8 @@ object RemoteDeploymentDocSpec {
|
|||
|
||||
class RemoteDeploymentDocSpec extends AkkaSpec("""
|
||||
akka.actor.provider = remote
|
||||
akka.remote.netty.tcp {
|
||||
port = 0
|
||||
}
|
||||
akka.remote.classic.netty.tcp.port = 0
|
||||
akka.remote.artery.canonical.port = 0
|
||||
""") with ImplicitSender {
|
||||
|
||||
import RemoteDeploymentDocSpec._
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue