MultiNodeConfig

org.apache.pekko.remote.testkit.MultiNodeConfig
abstract class MultiNodeConfig

Configure the role names and participants of the test, including configuration settings.

Attributes

Source
MultiNodeSpec.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def commonConfig(config: Config): Unit

Register a common base config for all test participants, if so desired.

Register a common base config for all test participants, if so desired.

Attributes

Source
MultiNodeSpec.scala

Include for verbose debug logging

Include for verbose debug logging

Value parameters

on

when true debug Config is returned, otherwise config with info logging

Attributes

Source
MultiNodeSpec.scala
def deployOn(role: RoleName, deployment: String): Unit

Attributes

Source
MultiNodeSpec.scala
def deployOnAll(deployment: String): Unit

Attributes

Source
MultiNodeSpec.scala
def nodeConfig(roles: RoleName*)(configs: Config*): Unit

Register a config override for a specific participant.

Register a config override for a specific participant.

Attributes

Source
MultiNodeSpec.scala
def role(name: String): RoleName

Construct a RoleName and return it, to be used as an identifier in the test. Registration of a role name creates a role which then needs to be filled.

Construct a RoleName and return it, to be used as an identifier in the test. Registration of a role name creates a role which then needs to be filled.

Attributes

Source
MultiNodeSpec.scala

To be able to use blackhole, passThrough, and throttle you must activate the failure injector and throttler transport adapters by specifying testTransport(on = true) in your MultiNodeConfig.

To be able to use blackhole, passThrough, and throttle you must activate the failure injector and throttler transport adapters by specifying testTransport(on = true) in your MultiNodeConfig.

Attributes

Source
MultiNodeSpec.scala