change default port number to 7355
This commit is contained in:
parent
defddc6af5
commit
785369030d
59 changed files with 215 additions and 215 deletions
|
|
@ -412,7 +412,7 @@ Where the <node-url> should be on the format of
|
|||
'pekko.<protocol>://<actor-system-name>@<hostname>:<port>'
|
||||
|
||||
Examples: ./pekko-cluster localhost 9999 is-available
|
||||
./pekko-cluster localhost 9999 join pekko://MySystem@darkstar:2552
|
||||
./pekko-cluster localhost 9999 join pekko://MySystem@darkstar:7355
|
||||
./pekko-cluster localhost 9999 cluster-status
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ pekko {
|
|||
artery {
|
||||
transport = tcp # See Selecting a transport below
|
||||
canonical.hostname = "127.0.0.1"
|
||||
canonical.port = 25520
|
||||
canonical.port = 73550
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -189,13 +189,13 @@ In the next sections the two alternatives are described in detail.
|
|||
Scala
|
||||
: ```
|
||||
val selection =
|
||||
context.actorSelection("pekko://actorSystemName@10.0.0.1:25520/user/actorName")
|
||||
context.actorSelection("pekko://actorSystemName@10.0.0.1:73550/user/actorName")
|
||||
```
|
||||
|
||||
Java
|
||||
: ```
|
||||
ActorSelection selection =
|
||||
context.actorSelection("pekko://actorSystemName@10.0.0.1:25520/user/actorName");
|
||||
context.actorSelection("pekko://actorSystemName@10.0.0.1:73550/user/actorName");
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -850,7 +850,7 @@ pekko {
|
|||
canonical.port = 8000 # external (logical) port
|
||||
|
||||
bind.hostname = local.address # internal (bind) hostname
|
||||
bind.port = 25520 # internal (bind) port
|
||||
bind.port = 73550 # internal (bind) port
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ pekko {
|
|||
enabled-transports = ["pekko.remote.classic.netty.tcp"]
|
||||
netty.tcp {
|
||||
hostname = "127.0.0.1"
|
||||
port = 2552
|
||||
port = 7355
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -126,13 +126,13 @@ In the next sections the two alternatives are described in detail.
|
|||
Scala
|
||||
: ```
|
||||
val selection =
|
||||
context.actorSelection("pekko.tcp://actorSystemName@10.0.0.1:2552/user/actorName")
|
||||
context.actorSelection("pekko.tcp://actorSystemName@10.0.0.1:7355/user/actorName")
|
||||
```
|
||||
|
||||
Java
|
||||
: ```
|
||||
ActorSelection selection =
|
||||
context.actorSelection("pekko.tcp://app@10.0.0.1:2552/user/serviceA/worker");
|
||||
context.actorSelection("pekko.tcp://app@10.0.0.1:7355/user/serviceA/worker");
|
||||
```
|
||||
|
||||
As you can see from the example above the following pattern is used to find an actor on a remote node:
|
||||
|
|
@ -609,7 +609,7 @@ pekko.remote.classic.netty.tcp {
|
|||
port = 8000 # external (logical) port
|
||||
|
||||
bind-hostname = local.address # internal (bind) hostname
|
||||
bind-port = 2552 # internal (bind) port
|
||||
bind-port = 7355 # internal (bind) port
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -155,15 +155,15 @@ You can define the seed nodes in the @ref:[configuration](#configuration) file (
|
|||
|
||||
```
|
||||
pekko.cluster.seed-nodes = [
|
||||
"pekko://ClusterSystem@host1:2552",
|
||||
"pekko://ClusterSystem@host2:2552"]
|
||||
"pekko://ClusterSystem@host1:7355",
|
||||
"pekko://ClusterSystem@host2:7355"]
|
||||
```
|
||||
|
||||
This can also be defined as Java system properties when starting the JVM using the following syntax:
|
||||
|
||||
```
|
||||
-Dpekko.cluster.seed-nodes.0=pekko://ClusterSystem@host1:2552
|
||||
-Dpekko.cluster.seed-nodes.1=pekko://ClusterSystem@host2:2552
|
||||
-Dpekko.cluster.seed-nodes.0=pekko://ClusterSystem@host1:7355
|
||||
-Dpekko.cluster.seed-nodes.1=pekko://ClusterSystem@host2:7355
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public class StatsSampleOneMasterMain {
|
|||
|
||||
public static void main(String[] args) {
|
||||
if (args.length == 0) {
|
||||
startup(new String[] {"2551", "2552", "0"});
|
||||
startup(new String[] {"2551", "7355", "0"});
|
||||
StatsSampleOneMasterClientMain.main(new String[0]);
|
||||
} else {
|
||||
startup(args);
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class LambdaPersistencePluginDocTest {
|
|||
class SharedStorageUsage extends AbstractActor {
|
||||
@Override
|
||||
public void preStart() throws Exception {
|
||||
String path = "pekko://example@127.0.0.1:2552/user/store";
|
||||
String path = "pekko://example@127.0.0.1:7355/user/store";
|
||||
ActorSelection selection = getContext().actorSelection(path);
|
||||
selection.tell(new Identify(1), getSelf());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ object SharedLeveldbPluginDocSpec {
|
|||
// #shared-store-usage
|
||||
trait SharedStoreUsage extends Actor {
|
||||
override def preStart(): Unit = {
|
||||
context.actorSelection("pekko://example@127.0.0.1:2552/user/store") ! Identify(1)
|
||||
context.actorSelection("pekko://example@127.0.0.1:7355/user/store") ! Identify(1)
|
||||
}
|
||||
|
||||
def receive = {
|
||||
|
|
|
|||
|
|
@ -219,7 +219,7 @@ pekko.actor.deployment {
|
|||
/parent/remotePool {
|
||||
router = round-robin-pool
|
||||
nr-of-instances = 10
|
||||
target.nodes = ["pekko://app@10.0.0.2:2552", "pekko://app@10.0.0.3:2552"]
|
||||
target.nodes = ["pekko://app@10.0.0.2:7355", "pekko://app@10.0.0.3:7355"]
|
||||
}
|
||||
}
|
||||
#//#config-remote-round-robin-pool
|
||||
|
|
@ -229,7 +229,7 @@ pekko.actor.deployment {
|
|||
/parent/remotePool {
|
||||
router = round-robin-pool
|
||||
nr-of-instances = 10
|
||||
target.nodes = ["tcp://app@10.0.0.2:2552", "pekko://app@10.0.0.3:2552"]
|
||||
target.nodes = ["tcp://app@10.0.0.2:7355", "pekko://app@10.0.0.3:7355"]
|
||||
}
|
||||
}
|
||||
#//#config-remote-round-robin-pool-artery
|
||||
|
|
@ -239,9 +239,9 @@ pekko.actor.deployment {
|
|||
/parent/remoteGroup {
|
||||
router = round-robin-group
|
||||
routees.paths = [
|
||||
"pekko://app@10.0.0.1:2552/user/workers/w1",
|
||||
"pekko://app@10.0.0.2:2552/user/workers/w1",
|
||||
"pekko://app@10.0.0.3:2552/user/workers/w1"]
|
||||
"pekko://app@10.0.0.1:7355/user/workers/w1",
|
||||
"pekko://app@10.0.0.2:7355/user/workers/w1",
|
||||
"pekko://app@10.0.0.3:7355/user/workers/w1"]
|
||||
}
|
||||
}
|
||||
#//#config-remote-round-robin-group
|
||||
|
|
@ -251,9 +251,9 @@ pekko.actor.deployment {
|
|||
/parent/remoteGroup2 {
|
||||
router = round-robin-group
|
||||
routees.paths = [
|
||||
"pekko://app@10.0.0.1:2552/user/workers/w1",
|
||||
"pekko://app@10.0.0.2:2552/user/workers/w1",
|
||||
"pekko://app@10.0.0.3:2552/user/workers/w1"]
|
||||
"pekko://app@10.0.0.1:7355/user/workers/w1",
|
||||
"pekko://app@10.0.0.2:7355/user/workers/w1",
|
||||
"pekko://app@10.0.0.3:7355/user/workers/w1"]
|
||||
}
|
||||
}
|
||||
#//#config-remote-round-robin-group-artery
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue